def test33_load_from_xml_no_file_fail(self): book_collection = BookCollection(**self.valid_bookcoll_kwargs) self.assertFalse(book_collection.load_from_xml())
def test32_load_from_xml_success(self, data): book_collection = BookCollection(**self.valid_bookcoll_kwargs) book_collection[self.test_book1.isbn] = self.test_book1 self.assertTrue(book_collection.load_from_xml())