Skip to content

Commit

Permalink
Added llama3 test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
asherpasha committed Oct 2, 2024
1 parent ad9c074 commit 2a3da61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/resources/test_llama3.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ def test_get_llama(self):
}
self.assertEqual(response.json, expected)

# Gene does not exist
# Invalid gene id
response = self.app_client.get("/LLaMA/XX3G18850")
expected = {"wasSuccessful": False, "error": "Invalid gene id"}
self.assertEqual(response.json, expected)

# Gene does not exist
response = self.app_client.get("/LLaMA/AT3G18851")
expected = {"wasSuccessful": False, "error": "There are no data found for the given gene"}
self.assertEqual(response.json, expected)

0 comments on commit 2a3da61

Please sign in to comment.