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