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