

def test_create_instance(self):
    obj = self.config.create_instance('thing')
    self.assertIsInstance(obj, ConfigurableThing)
    self.assertEqual(obj.config['param'], 41)

dataset/ETHPy150Open deliveryhero/lymph/lymph/tests/test_config.py CreateInstanceTest.test_create_instance/original