diff options
author | zsloan | 2021-05-27 21:11:16 +0000 |
---|---|---|
committer | zsloan | 2021-05-27 21:11:16 +0000 |
commit | e78c84aa10849465e0272daa6d94bfbd3419b072 (patch) | |
tree | 73d79d55f6d20dbc954f9276d3af6e2adefe1910 | |
parent | f69eb61c5f58b008233f7bee0e551fe9151c7724 (diff) | |
download | genenetwork2-e78c84aa10849465e0272daa6d94bfbd3419b072.tar.gz |
Fix the way Mock is initialized
-rw-r--r-- | wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py | 2 |
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, |