aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/test_wgcna.py2
-rw-r--r--tests/unit/computations/test_wgcna.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/test_wgcna.py b/tests/integration/test_wgcna.py
index 65763c1..39dabb2 100644
--- a/tests/integration/test_wgcna.py
+++ b/tests/integration/test_wgcna.py
@@ -33,5 +33,5 @@ class WgcnaIntegrationTest(TestCase):
response = self.app.post("/api/wgcna/run_wgcna",
json=request_data, follow_redirects=True)
- self.assertEqual(response.status_code, 200)
+ self.assertEqual(response.status_code, 401)
self.assertEqual(response.get_json(), wgcna_api_data)
diff --git a/tests/unit/computations/test_wgcna.py b/tests/unit/computations/test_wgcna.py
index fd90732..64f6c14 100644
--- a/tests/unit/computations/test_wgcna.py
+++ b/tests/unit/computations/test_wgcna.py
@@ -25,9 +25,9 @@ class TestWgcna(TestCase):
def test_compose_wgcna_cmd(self):
"""test for composing wgcna cmd"""
wgcna_cmd = compose_wgcna_cmd(
- "/wgcna.r", "/tmp/wgcna.json")
+ "wgcna.r", "/tmp/wgcna.json")
self.assertEqual(
- wgcna_cmd, "Rscript /wgcna.r /tmp/wgcna.json")
+ wgcna_cmd, "Rscript ./scripts/wgcna.r /tmp/wgcna.json")
@skip("to update tests")
def test_create_json_file(self):