We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9c074 commit 2a3da61Copy full SHA for 2a3da61
tests/resources/test_llama3.py
@@ -23,7 +23,12 @@ def test_get_llama(self):
23
}
24
self.assertEqual(response.json, expected)
25
26
- # Gene does not exist
+ # Invalid gene id
27
response = self.app_client.get("/LLaMA/XX3G18850")
28
expected = {"wasSuccessful": False, "error": "Invalid gene id"}
29
30
+
31
+ # Gene does not exist
32
+ response = self.app_client.get("/LLaMA/AT3G18851")
33
+ expected = {"wasSuccessful": False, "error": "There are no data found for the given gene"}
34
+ self.assertEqual(response.json, expected)
0 commit comments