Implement directory recursion, and type filtering

This commit is contained in:
Mike
2019-09-26 22:06:38 -04:00
parent 601b2a57c7
commit 5d26a7d49f
5 changed files with 16 additions and 11 deletions

View File

@@ -7,8 +7,8 @@ class Testing(unittest.TestCase):
def test_libray_catalogue(self):
self.assertIsNotNone(Catalogue())
def test_library_catalogue_scan_folder(self):
self.assertIsInstance(Catalogue().scan_folder(), object)
def test_library_catalogue_filter_books(self):
self.assertIsNotNone(Catalogue().filter_books())
def test_library_catalogue_compare_shelf_current(self):
self.assertIsInstance(Catalogue().compare_shelf_current(), Catalogue)