aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test_gemma.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-10 15:45:44 +0300
committerBonfaceKilz2021-03-10 15:45:44 +0300
commitb1e0c239aed2ee4377b9ee47af2ed0ae41c8ebba (patch)
treed1dcc705215f0a3ad740332b87be726fe7fdf790 /tests/integration/test_gemma.py
parentf6fb8fc46aea76e9c4011a091b9a86306b72d42d (diff)
downloadgenenetwork3-b1e0c239aed2ee4377b9ee47af2ed0ae41c8ebba.tar.gz
Rename "covariates" to "covars" in endpoints for consistency
Diffstat (limited to 'tests/integration/test_gemma.py')
-rw-r--r--tests/integration/test_gemma.py4
1 files changed, 2 insertions, 2 deletions
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/<k-inputfile>/loco/covariates/maf/<maf><token>
+ """Test /gemma/gwa-compute/<k-inputfile>/loco/covars/maf/<maf><token>
"""
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"