diff options
Diffstat (limited to 'tests/unit/test_db_utils.py')
-rw-r--r-- | tests/unit/test_db_utils.py | 2 |
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", |