aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-05-22 22:43:58 +0000
committerzsloan2021-05-22 22:43:58 +0000
commit1ec1219eae75f1cf9a1b20ea479ea6e2934eaa68 (patch)
treec525eef3bc3d9650c20dd705f6cc3baa09ee90e0 /wqflask
parent579ec56e488db19e7cd489b906ae6da7cd453239 (diff)
downloadgenenetwork2-1ec1219eae75f1cf9a1b20ea479ea6e2934eaa68.tar.gz
Fixed a couple broken tests
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/unit/wqflask/api/test_mapping.py2
-rw-r--r--wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/tests/unit/wqflask/api/test_mapping.py b/wqflask/tests/unit/wqflask/api/test_mapping.py
index b094294a..159c982b 100644
--- a/wqflask/tests/unit/wqflask/api/test_mapping.py
+++ b/wqflask/tests/unit/wqflask/api/test_mapping.py
@@ -58,7 +58,7 @@ class TestMapping(unittest.TestCase):
self.assertEqual(results_2, expected_results)
- @mock.patch("wqflask.api.mapping.rqtl_mapping.run_rqtl_geno")
+ @mock.patch("wqflask.api.mapping.rqtl_mapping.run_rqtl")
@mock.patch("wqflask.api.mapping.gemma_mapping.run_gemma")
@mock.patch("wqflask.api.mapping.initialize_parameters")
@mock.patch("wqflask.api.mapping.retrieve_sample_data")
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 5c679c05..626869b8 100644
--- a/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
+++ b/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
@@ -17,7 +17,7 @@ class TestRqtlMapping(unittest.TestCase):
@mock.patch("wqflask.marker_regression.rqtl_mapping.process_perm_results")
@mock.patch("wqflask.marker_regression.rqtl_mapping.requests.post")
@mock.patch("wqflask.marker_regression.rqtl_mapping.locate")
- @mock.patch("wqflask.marker_regression.gemma_mapping.write_phenotype_file")
+ @mock.patch("wqflask.marker_regression.rqtl_mapping.write_phenotype_file")
def test_run_rqtl_with_perm(self, mock_write_pheno_file, mock_locate, mock_post, mock_process_perm, mock_process_rqtl):
"""Test for run_rqtl with permutations > 0"""
dataset_group = MockGroup(