Skip to content
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

Fix #1641: add tests for challenge creation using zip file #1677

Merged
merged 2 commits into from
May 14, 2018

Conversation

lenniezelk
Copy link
Contributor

@lenniezelk lenniezelk commented May 1, 2018

Fixes #1641

self.url = reverse_lazy('challenges:create_challenge_using_zip_file',
kwargs={'challenge_host_team_pk': self.challenge_host_team.pk})

assert Challenge.objects.count() == 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this, please use self.assertEqual(Challenge.objects.count(), 1). Please do the same changes for other assert statements as well.

@lenniezelk lenniezelk force-pushed the add-upload-zip-challenge-tests branch from 6f3c998 to 116ae58 Compare May 4, 2018 08:14
@lenniezelk
Copy link
Contributor Author

updated @deshraj

@lenniezelk
Copy link
Contributor Author

any feedback @deshraj @RishabhJain2018 ?

Copy link
Member

@deshraj deshraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @lenniezelk :)

@deshraj deshraj merged commit 02f259e into Cloud-CV:master May 14, 2018
HargovindArora pushed a commit to HargovindArora/EvalAI that referenced this pull request Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants