Implemented the return of unique files for storage

This commit is contained in:
Raelon Masters
2019-10-14 17:52:16 -04:00
parent a1bb0aa101
commit f821eb02cb
15 changed files with 87 additions and 76 deletions

View File

@@ -1,6 +1,6 @@
import unittest
import sys
sys.path.insert(1, '../')
# sys.path.insert(1, '../')
from lib.library import Catalogue
Catalogue = Catalogue()
@@ -12,5 +12,9 @@ class LibraryTest(unittest.TestCase):
def test_library_catalogue_filter_books(self):
self.assertIsNotNone(Catalogue.filter_books())
def test_library_catalogue_new_files(self):
self.assertIsNot(Catalogue.new_files(), False)
if __name__ == '__main__':
unittest.main()