From 8f732461b897a7c229c3b49a74fd831c2e440989 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 20 Sep 2022 11:40:56 +0300 Subject: Decompose file into separate modules To ease future refactors on the code, decompose the file into a module with multiple modules that can be refactored semi-independently. --- wqflask/tests/unit/base/test_data_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/tests/unit') diff --git a/wqflask/tests/unit/base/test_data_set.py b/wqflask/tests/unit/base/test_data_set.py index 753981d8..fa0024f7 100644 --- a/wqflask/tests/unit/base/test_data_set.py +++ b/wqflask/tests/unit/base/test_data_set.py @@ -154,7 +154,7 @@ class TestDataSetTypes(unittest.TestCase): ("All Phenotypes"), "Publish") redis_mock.get.assert_called_once_with("dataset_structure") - @mock.patch('base.data_set.requests.get') + @mock.patch('base.data_set.datasettype.requests.get') def test_data_set_type_with_empty_redis(self, request_mock): """Test that DatasetType returns correctly if the Redis Instance is empty and the name variable exists in the dictionary -- cgit v1.2.3