diff options
author | Frederick Muriuki Muriithi | 2022-09-20 11:40:56 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-20 11:50:32 +0300 |
commit | 8f732461b897a7c229c3b49a74fd831c2e440989 (patch) | |
tree | 769f044294c118eb3aec631d3d26485b4280637e /wqflask/tests/unit/base | |
parent | ce07180fbc07fbf61d4dc26bf5d20cdf6f7df91f (diff) | |
download | genenetwork2-8f732461b897a7c229c3b49a74fd831c2e440989.tar.gz |
Decompose file into separate modulesrefactor-data_set_py-20220920
To ease future refactors on the code, decompose the file into a module
with multiple modules that can be refactored semi-independently.
Diffstat (limited to 'wqflask/tests/unit/base')
-rw-r--r-- | wqflask/tests/unit/base/test_data_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |