

def test_contains(self):
    config = Configuration({
        'a': {
            'b': 1,
        },
    })
    self.assertTrue(('a' in config))
    self.assertFalse(('foo' in config))
    view = config.get('a')
    self.assertTrue(('b' in view))
    self.assertFalse(('foo' in view))

dataset/ETHPy150Open deliveryhero/lymph/lymph/tests/test_config.py ConfigurationTests.test_contains/original