Example #1
0
 def test24_parse_text_parse_error_fail(self):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertEqual(book_collection._parse_text(self.invalid_txt), [])
Example #2
0
 def test25_parse_text_empty_fail(self):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertEqual(book_collection._parse_text(''), [])
Example #3
0
 def test23_parse_text_success(self):
     book_collection = BookCollection(**self.valid_bookcoll_kwargs)
     self.assertNotEqual(book_collection._parse_text(self.valid_txt), [])