aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests/unit
diff options
context:
space:
mode:
authorzsloan2021-05-22 22:51:19 +0000
committerzsloan2021-05-22 22:51:19 +0000
commitcf9f0bef4454f97270bcacd16080f9d7f6bbb5e6 (patch)
treec6e2a58638b2d28b93db1c4b644f463fcd0f38a7 /wqflask/tests/unit
parent1ec1219eae75f1cf9a1b20ea479ea6e2934eaa68 (diff)
downloadgenenetwork2-cf9f0bef4454f97270bcacd16080f9d7f6bbb5e6.tar.gz
Fixed the mocked return_value for requests.post to fix broken test
Diffstat (limited to 'wqflask/tests/unit')
-rw-r--r--wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py b/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
index 626869b8..6853c021 100644
--- a/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
+++ b/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
@@ -28,7 +28,8 @@ class TestRqtlMapping(unittest.TestCase):
mock_write_pheno_file.return_value = "pheno_filename"
mock_locate.return_value = "geno_filename"
- mock_post.return_value = "output_filename"
+ mock_post.return_value = {"output_file": "output_filename",
+ "rqtl_cmd": "the_command"}
mock_process_perm.return_value = [[], 3, 4]
mock_process_rqtl.return_value = []