def test_dependencies_failure_has_single_element_not_list(self):
        depend, on = "bar", "foo"
        schema = {u"dependencies" : {depend : on}}
        message = self.message_for({"bar" : 2}, schema)
        self.assertEqual(message, "%r is a dependency of %r" % (on, depend))
dataset/ETHPy150Open Julian/jsonschema/jsonschema/tests/test_validators.py/TestValidationErrorMessages.test_dependencies_failure_has_single_element_not_list/original