From b1e0c239aed2ee4377b9ee47af2ed0ae41c8ebba Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 10 Mar 2021 15:45:44 +0300 Subject: Rename "covariates" to "covars" in endpoints for consistency --- tests/integration/test_gemma.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py index 73c7baa..d78eead 100644 --- a/tests/integration/test_gemma.py +++ b/tests/integration/test_gemma.py @@ -258,7 +258,7 @@ class GemmaAPITest(unittest.TestCase): def test_gwa_compute_with_loco_covars(self, mock_redis, mock_path_exist, mock_json, mock_hash, mock_queue_cmd): - """Test /gemma/gwa-compute//loco/covariates/maf/ + """Test /gemma/gwa-compute//loco/covars/maf/ """ mock_path_exist.return_value, _redis_conn = True, mock.MagicMock() @@ -273,7 +273,7 @@ class GemmaAPITest(unittest.TestCase): mock_hash.return_value = "hash" response = self.app.post(("/api/gemma/gwa-compute/" "hash-output.json/loco/" - "covariates/maf/21/my-token")) + "covars/maf/21/my-token")) mock_hash.assert_called_once_with([ '/tmp/my-token/genofile.txt', '/tmp/my-token/phenofile.txt', '/tmp/my-token/snpfile.txt', "/tmp/my-token/covarfile.txt" -- cgit v1.2.3