Example #1
0
 def test_serialize_list_returns_itself(self):
     from niprov.formatobject import ObjectFormat
     form = ObjectFormat(self.dependencies)
     mylist = [self.aFile(), self.aFile(), self.aFile()]
     out = form.serializeList(mylist)
     self.assertEqual(mylist, out)
Example #2
0
 def test_serialize_list_returns_itself(self):
     from niprov.formatobject import ObjectFormat
     form = ObjectFormat(self.dependencies)
     mylist = [self.aFile(), self.aFile(), self.aFile()]
     out = form.serializeList(mylist)
     self.assertEqual(mylist, out)