Example #1
0
 def setUp(self):
     self.schema = schemas.ConfigSchema('test')
     self.schema['foo'] = mock.Mock()
     self.schema['bar'] = mock.Mock()
     self.schema['baz'] = mock.Mock()
     self.values = {'bar': '123', 'foo': '456', 'baz': '678'}
Example #2
0
 def setUp(self):  # noqa: N802
     self.schema = schemas.ConfigSchema("test")
     self.schema["foo"] = mock.Mock()
     self.schema["bar"] = mock.Mock()
     self.schema["baz"] = mock.Mock()
     self.values = {"bar": "123", "foo": "456", "baz": "678"}