def setUp(self):
     self.mld = MultiLookupDict({
         '[foo]': {
             'alias': 'bar',
             'caption': 'baz',
             'value': 1
         },
         '[bar]': {
             'caption': 'foo',
             'value': 2
         },
         '[baz]': {
             'value': 3
         }
     })
예제 #2
0
 def test_multilookupdict_can_be_empty(self):
     mld = MultiLookupDict()
     self.assertIsNotNone(mld)