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

Added missing test cases for submissions.py #202

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Added missing test cases for submissions.py #202

wants to merge 7 commits into from

Conversation

jayaike
Copy link
Contributor

@jayaike jayaike commented Dec 12, 2019

Added missing Test Cases for submissions.py

@lunayach , @Ram81 , @RishabhJain2018 , @vkartik97 ,I have added the missing test cases to the file indicated in the task. However, despite it getting 100% code coverage, the overall code coverage is 89%. I guess that might be a miscalculation.

The second thing is in order to add the test case for the missing schema. I had to move the code that catches the exception to the function where it is supposed to be as it was not getting called in its former position due to the fact that it was in the wrong function. I have fixed that now.

The new code I have provided has 100% coverage in the submissions test as I have written the remaining test cases.
The code does not break.

Please let me know if you have any comments.
Thank you

Copy link
Member

@krtkvrm krtkvrm left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@pushkalkatara
Copy link

Nice work @nsjcorps, Looks good to me too.

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.

3 participants