aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorzsloan2021-05-27 21:11:16 +0000
committerzsloan2021-05-27 21:11:16 +0000
commite78c84aa10849465e0272daa6d94bfbd3419b072 (patch)
tree73d79d55f6d20dbc954f9276d3af6e2adefe1910 /wqflask/tests
parentf69eb61c5f58b008233f7bee0e551fe9151c7724 (diff)
downloadgenenetwork2-e78c84aa10849465e0272daa6d94bfbd3419b072.tar.gz
Fix the way Mock is initialized
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py2
1 files changed, 1 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 9a5162ae..9d13e943 100644
--- a/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
+++ b/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
@@ -25,7 +25,7 @@ class TestRqtlMapping(unittest.TestCase):
mock_write_pheno_file.return_value = "pheno_filename"
mock_locate.return_value = "geno_filename"
- mock_post.return_value = Mock(ok=True)
+ mock_post.return_value = mock.Mock(ok=True)
mock_post.return_value.json.return_value = {"perm_results": [],
"suggestive": 3,
"significant": 4,