| @@ -334,7 +334,7 @@ def main(): | |||||
| del obj[k] | del obj[k] | ||||
| nobj = MDBase(obj) | nobj = MDBase(obj) | ||||
| objstr.loadobj(nobj) | objstr.loadobj(nobj) | ||||
| else: | |||||
| else: # pragma: no cover | |||||
| raise NotImplementedError | raise NotImplementedError | ||||
| objstr.store(storefname) | objstr.store(storefname) | ||||
| @@ -453,10 +453,10 @@ class _TestCases(unittest.TestCase): | |||||
| # and that when you get it's properties | # and that when you get it's properties | ||||
| oobj = objst.by_id(oid) | oobj = objst.by_id(oid) | ||||
| oitems = oobj.items() | |||||
| odict = dict(oobj.items()) | |||||
| # that is has the overlays property | # that is has the overlays property | ||||
| print `oitems` | |||||
| self.assertEqual(odict['overlay_refs'], [ bid ]) | |||||
| def test_objectstore(self): | def test_objectstore(self): | ||||
| objst = ObjectStore.load(os.path.join('fixtures', 'sample.data.pasn1')) | objst = ObjectStore.load(os.path.join('fixtures', 'sample.data.pasn1')) | ||||