Commit 187de44c authored by Hervé Ménager's avatar Hervé Ménager
Browse files

fix unit tests according to API URLs modifications

parent e8b74465
......@@ -19,7 +19,7 @@ class TestDefaultController(JassFlaskTestCase):
"""
Test case retrieving available phenotypes
"""
response = self.testing_client.open("/api/phenotypes/", method="GET")
response = self.testing_client.open("/api/phenotypes", method="GET")
self.assert200(response, "Response body is : " + response.data.decode("utf-8"))
def test_create_project(self):
......@@ -27,7 +27,7 @@ class TestDefaultController(JassFlaskTestCase):
Test case for creating a project
"""
response = self.testing_client.open(
"/api/projects/",
"/api/projects",
method="POST",
data={"phenotypeID": "z_IHEC_MONOP,z_RA_RA"},
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment