Ejemplo n.º 1
0
 def test31_save_to_xml_fail(self, *ignore):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertFalse(book_collection.save_to_xml())
Ejemplo n.º 2
0
 def test30_save_to_xml_success(self, *ignore):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertTrue(book_collection.save_to_xml())