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

Adds test cases for UserAccount View #24

Merged
merged 5 commits into from
Sep 13, 2020
Merged

Adds test cases for UserAccount View #24

merged 5 commits into from
Sep 13, 2020

Conversation

iamdipanshusingh
Copy link
Member

Hey, I just made a Pull Request!

Description

Adds test cases for RetrieveUpdateUserAccountView

Motivation and Context

Have you tested this? If so, how?

Checklist for PR author(s)

  • Changes are covered by unit tests (no major decrease in code coverage %).
  • All tests pass.
  • Docstring coverage is 100% via interrogate drf_user (I mean, we should set a good example 😄).
  • Updates to documentation:
    • Document any relevant additions/changes in README.md.
    • Manually update both the README.md and docs/index.rst for any new changes.
    • Any changed/added classes/methods/functions have appropriate versionadded, versionchanged, or deprecated directives. Find the appropriate next version in the project's __init__.py file.

Release note

NONE

@codecov
Copy link

codecov bot commented Sep 12, 2020

Codecov Report

Merging #24 into master will increase coverage by 0.49%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   44.77%   45.27%   +0.49%     
==========================================
  Files          17       17              
  Lines         603      603              
==========================================
+ Hits          270      273       +3     
+ Misses        333      330       -3     
Flag Coverage Δ
#unittests 45.27% <ø> (+0.49%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
drf_user/views.py 49.06% <0.00%> (+1.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d2e8ad...98394bb. Read the comment docs.

@sumit4613 sumit4613 self-assigned this Sep 13, 2020
Copy link
Member

@sumit4613 sumit4613 left a comment

Choose a reason for hiding this comment

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

LGTM 💯

@sumit4613 sumit4613 merged commit 791407b into 101Loop:master Sep 13, 2020
@iamdipanshusingh iamdipanshusingh deleted the dipanshu/views_test/user_account branch September 13, 2020 03:48
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.

None yet

2 participants