diff options
author | Frederick Muriuki Muriithi | 2022-03-08 08:07:38 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-03-08 08:07:38 +0300 |
commit | e30f9a9b746f7dcdc8707e66cc65e580e6f83f47 (patch) | |
tree | 2edbbe2ff8957daf22ec60a562a633bdfa064723 /tests/unit/test_db_utils.py | |
parent | eae345ed252c01e541d64c7e5b60b488d84268c6 (diff) | |
download | genenetwork3-e30f9a9b746f7dcdc8707e66cc65e580e6f83f47.tar.gz |
Fix tests, and issues caught by tests
Fix some issues caught by tests due to changes introducing the hand-off of the
partial correlations computations to an external process
Fix some issues due to the changes that introduce context managers for
database connections
Update some tests to take the above two changes into consideration
Diffstat (limited to 'tests/unit/test_db_utils.py')
-rw-r--r-- | tests/unit/test_db_utils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/test_db_utils.py b/tests/unit/test_db_utils.py index 96ee68f..44d6703 100644 --- a/tests/unit/test_db_utils.py +++ b/tests/unit/test_db_utils.py @@ -27,8 +27,6 @@ class TestDatabase(TestCase): mock_sql.connect.assert_called_with( "localhost", "guest", "4321", "users") - self.assertIsInstance( - results, tuple, "database not created successfully") @pytest.mark.unit_test @mock.patch("gn3.db_utils.SQL_URI", |