diff options
author | BonfaceKilz | 2021-03-05 12:06:54 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-03-08 21:09:58 +0300 |
commit | 8752937bc1e3cea84eefd3e363b429157f25acb5 (patch) | |
tree | 57ce328b6f0ac10adbb90f09e72962343fb83d49 /tests/integration | |
parent | 5c56425d51ab6a6b4ffd6ec8f86121bd91ff5e63 (diff) | |
download | genenetwork3-8752937bc1e3cea84eefd3e363b429157f25acb5.tar.gz |
Add generic fn for computing k and gwa values
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/test_gemma.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/test_gemma.py b/tests/integration/test_gemma.py index 822f088..f4ac685 100644 --- a/tests/integration/test_gemma.py +++ b/tests/integration/test_gemma.py @@ -162,7 +162,7 @@ class GemmaAPITest(unittest.TestCase): self.assertEqual(response.get_json(), {"status": "test"}) @mock.patch("gn3.api.gemma.queue_cmd") - @mock.patch("gn3.api.gemma.get_hash_of_files") + @mock.patch("gn3.computations.gemma.get_hash_of_files") @mock.patch("gn3.api.gemma.jsonfile_to_dict") @mock.patch("gn3.api.gemma.do_paths_exist") @mock.patch("gn3.api.gemma.redis.Redis") @@ -195,7 +195,7 @@ class GemmaAPITest(unittest.TestCase): }) @mock.patch("gn3.api.gemma.queue_cmd") - @mock.patch("gn3.api.gemma.get_hash_of_files") + @mock.patch("gn3.computations.gemma.get_hash_of_files") @mock.patch("gn3.api.gemma.jsonfile_to_dict") @mock.patch("gn3.api.gemma.do_paths_exist") @mock.patch("gn3.api.gemma.redis.Redis") @@ -223,9 +223,9 @@ class GemmaAPITest(unittest.TestCase): "-g /tmp/test-data/genofile.txt " "-p /tmp/test-data/phenofile.txt " "-a /tmp/test-data/snpfile.txt " - "-gk > /tmp/test-data/hash-k-output.json")) + "-gk > /tmp/test-data/hash-3R77Mz-k-output.json")) self.assertEqual(response.get_json(), { - "output_file": "hash-k-output.json", + "output_file": "hash-3R77Mz-k-output.json", "status": "queued", "unique_id": "my-unique-id" }) |