From cf9f0bef4454f97270bcacd16080f9d7f6bbb5e6 Mon Sep 17 00:00:00 2001 From: zsloan Date: Sat, 22 May 2021 22:51:19 +0000 Subject: Fixed the mocked return_value for requests.post to fix broken test --- wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [] -- cgit v1.2.3