mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
20 lines
378 B
Python
Executable File
20 lines
378 B
Python
Executable File
import unittest
|
|
|
|
# sys.path.insert(1, '../')
|
|
from lib.library import Catalogue
|
|
|
|
Catalogue = Catalogue()
|
|
|
|
|
|
class LibraryTest(unittest.TestCase):
|
|
|
|
def test_libray_catalogue(self):
|
|
self.assertIsNotNone(Catalogue)
|
|
|
|
def test_library_catalogue_filter_books(self):
|
|
self.assertIsNotNone(Catalogue.filter_books())
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|