mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
16 lines
375 B
Python
16 lines
375 B
Python
import unittest
|
|
import sys
|
|
sys.path.insert(1, 'lib/')
|
|
from storage import Storage
|
|
|
|
storage = Storage()
|
|
|
|
class StorageTest(unittest.TestCase):
|
|
|
|
def test_Storage_databasee(self):
|
|
self.assertTrue(storage.database())
|
|
|
|
def test_Storage_create_tables(self):
|
|
self.assertIsNot(storage.create_tables(), Exception)
|
|
if __name__ == '__main__':
|
|
unittest.main() |