-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Feat/nextflow_integration_tests #157
base: master
Are you sure you want to change the base?
Conversation
…/info` endpoints (Untested)
Please find the ci env pod logs here |
@@ -0,0 +1,133 @@ | |||
from typing import Dict, Tuple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you rename the file gen3workflow
instead of gen3workflows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will rename the file once all the other review comments in this file are addressed and resolved. Since renaming kind of stirs things up letting git assume that the file with all these comments is deleted.
Please find the detailed integration test report here Please find the ci env pod logs here |
…n remove `skipif` in methods
Please find the detailed integration test report here Please find the ci env pod logs here |
Please find the ci env pod logs here |
Please find the detailed integration test report here Please find the ci env pod logs here |
"Authorization": f"bearer {self._get_access_token(user)}", | ||
} | ||
if user | ||
else {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else {} | |
else {"Content-Type": "application/json"} |
user=self.valid_user, | ||
expected_status=200, | ||
) | ||
assert ( | ||
isinstance(response_contents, list) and len(response_contents) > 0 | ||
), "Expected the function to return a list of at least one item" | ||
), "Expected the function to return a list of at least one item but received: {response_contents}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
), "Expected the function to return a list of at least one item but received: {response_contents}" | |
), f"Expected the function to return a list of at least one item but received: {response_contents}" |
) | ||
|
||
def create_tes_task( | ||
self, request_body: dict, user: str = "main_account", expected_status=200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the request_body isn't used
expected_status=401, | ||
) | ||
|
||
def test_happy_path_create_tes_tasks(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we check that the created task completes successfully, and that the outputs are available and correct?
expected_status=401, | ||
) | ||
|
||
def test_happy_path_create_tes_tasks(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we merge test_happy_path_create_tes_tasks
, test_happy_path_list_tes_tasks
and test_happy_path_get_tes_tasks
into 1 so we don't create multiple TES tasks that the backend will be busy running (it will slow down any test that waits for a task to complete)?
Link to JIRA ticket if there is one: MIDRC-860
New Features
Dependency updates
nextflow
andboto3
as poetry dependencies