Esempio n. 1
0
 def test29_load_from_text_file_not_found_fail(self):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertFalse(book_collection.load_from_text())
Esempio n. 2
0
 def test29_load_from_text_file_empty_fail(self, *ignore):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertFalse(book_collection.load_from_text())
Esempio n. 3
0
 def test28_load_from_text_success(self, *ignore):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertTrue(book_collection.load_from_text())