def test_mget_not_existing(self): registry.registry['Foo.bar'] = 1 registry.registry['Foo.zoo'] = 2 assert registry.mget('asdasdasd') == {}
def test_mget(self): registry.registry['Foo.bar'] = 1 registry.registry['Foo.zoo'] = 2 assert registry.mget('FoO') == {'bar': 1, 'zoo': 2}