aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/test_db_utils.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-03-11 11:51:02 +0300
committerFrederick Muriuki Muriithi2022-03-11 11:51:02 +0300
commit9691e225724e041997c74f8665dcbfa12bb1c579 (patch)
tree271d99dbf6d72161e343ddf8765f9543fe752e37 /tests/unit/test_db_utils.py
parenta7696cc668e00215e1d5af2425765451811bca9d (diff)
downloadgenenetwork3-9691e225724e041997c74f8665dcbfa12bb1c579.tar.gz
Fix some linting issues
Diffstat (limited to 'tests/unit/test_db_utils.py')
-rw-r--r--tests/unit/test_db_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/test_db_utils.py b/tests/unit/test_db_utils.py
index 44d6703..7dc66c0 100644
--- a/tests/unit/test_db_utils.py
+++ b/tests/unit/test_db_utils.py
@@ -27,6 +27,8 @@ class TestDatabase(TestCase):
mock_sql.connect.assert_called_with(
"localhost", "guest", "4321", "users")
+ self.assertIsInstance(
+ results, SimpleNamespace, "database not created successfully")
@pytest.mark.unit_test
@mock.patch("gn3.db_utils.SQL_URI",