aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-09-19 09:30:08 +0300
committerFrederick Muriuki Muriithi2022-09-19 09:32:35 +0300
commite1b7c18b3d42600746f03ade29030e8a14c7ea1d (patch)
tree4b429b6f20f95f5508f4f4a318e8e04915252e18 /wqflask
parent63300e26ec4a8dab60cc9a80a6c4204c2c156e22 (diff)
downloadgenenetwork2-e1b7c18b3d42600746f03ade29030e8a14c7ea1d.tar.gz
Remove "wrong" assertions
The assertions was checking that the function was implemented a certain way, rather than whether the function was doing the correct thing.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py b/wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py
index 53d96d7f..43051828 100644
--- a/wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py
+++ b/wqflask/tests/unit/wqflask/marker_regression/test_gemma_mapping.py
@@ -68,13 +68,11 @@ class TestGemmaMapping(unittest.TestCase):
mock_parse_loco.return_value = []
results = run_gemma(this_trait=trait, this_dataset=dataset, samples=[
], vals=[], covariates="", use_loco=True)
- self.assertEqual(mock_os.system.call_count, 2)
mock_gen_pheno_txt.assert_called_once()
mock_parse_loco.assert_called_once_with(
dataset, "GP1_GWA_RRRRRR", True)
mock_os.path.isfile.assert_called_once_with(
('/home/user/imgfile_output.assoc.txt'))
- self.assertEqual(mock_flat_files.call_count, 4)
self.assertEqual(results, ([], "GP1_GWA_RRRRRR"))
@mock.patch("wqflask.marker_regression.gemma_mapping.TEMPDIR", "/home/user/data")