aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorzsloan2021-05-27 20:53:22 +0000
committerzsloan2021-05-27 20:53:22 +0000
commit767ff7e97a751f164da610b2f9c536b6660ec420 (patch)
tree4e40610c11bb6a926651cd209f7af09784f0dc9c /wqflask/tests
parent97df46292e8322f01466d36b1e1e3ecdad64e5c0 (diff)
downloadgenenetwork2-767ff7e97a751f164da610b2f9c536b6660ec420.tar.gz
Fixed way MockGroup was initialized
Diffstat (limited to 'wqflask/tests')
-rw-r--r--wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py3
1 files changed, 1 insertions, 2 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 ff451230..a7f708e1 100644
--- a/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
+++ b/wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py
@@ -20,8 +20,7 @@ class TestRqtlMapping(unittest.TestCase):
@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):
"""Test for run_rqtl with permutations > 0"""
- dataset_group = MockGroup(
- {"name": "GP1", "genofile": "file_geno"})
+ dataset_group = MockGroup("GP1", "file_geno")
dataset = MockDataset(dataset_group)
mock_write_pheno_file.return_value = "pheno_filename"