-
Notifications
You must be signed in to change notification settings - Fork 786
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
Unit tests for remote_submission_worker. #2350
Conversation
@Ram81 @RishabhJain2018 Please take a look. |
@KhalidRmb can you check why the travis build is failing |
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.
@KhalidRmb can you organise the tests in multiple classes like we did it here https://github.com/Cloud-CV/EvalAI/blob/master/tests/unit/challenges/test_views.py
@RishabhJain2018 your inputs
Sure, a class for each type of method. I'll do that. |
@Ram81 Please review. |
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.
@KhalidRmb please restructure the test file with one base class with common attributes and all other subclasses
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.
@KhalidRmb have a look at https://github.com/Cloud-CV/EvalAI/blob/master/tests/unit/challenges/test_views.py and please make the changes to avoid redundacy in code
@RishabhJain2018 other than the get methods part rest of the PR LGTM 👍 |
@KhalidRmb please add the get methods for URLs and we are good to go for this PR |
…into remoteworkerunit
Done. @Ram81 |
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.
@KhalidRmb @RishabhJain2018 LGTM 👍
12 test cases for
remote_submission_worker
.