Files
pyShelf/tests/test_library.py
2019-10-01 17:30:36 -04:00

17 lines
361 B
Python
Executable File

import unittest
import sys
sys.path.insert(1, 'lib/')
from library import 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()