From 767ff7e97a751f164da610b2f9c536b6660ec420 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 27 May 2021 20:53:22 +0000 Subject: Fixed way MockGroup was initialized --- wqflask/tests/unit/wqflask/marker_regression/test_rqtl_mapping.py | 3 +-- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3