Skip to content
Snippets Groups Projects
Verified Commit 9364b0ba authored by Mark's avatar Mark
Browse files

Initial test for database setup

parents
No related branches found
No related tags found
No related merge requests found
.env
__pycache__
import unittest
from sqlalchemy import create_engine
class DatabaseSetupTest(unittest.TestCase):
def setUp(self):
self.engine = create_engine('sqlite:///:memory:')
self.db_connection = self.engine.connect()
pass
def teatDown(self):
self.db_connection.close()
pass
def test_connect_to_database_with_provided_config(self):
# Nothing to do here
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment