diff options
author | zsloan | 2021-05-22 22:51:19 +0000 |
---|---|---|
committer | zsloan | 2021-05-22 22:51:19 +0000 |
commit | cf9f0bef4454f97270bcacd16080f9d7f6bbb5e6 (patch) | |
tree | c6e2a58638b2d28b93db1c4b644f463fcd0f38a7 | |
parent | 1ec1219eae75f1cf9a1b20ea479ea6e2934eaa68 (diff) | |
download | genenetwork2-cf9f0bef4454f97270bcacd16080f9d7f6bbb5e6.tar.gz |
Fixed the mocked return_value for requests.post to fix broken test
-rw-r--r-- | wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py | 3 |
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 = [] |