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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests/login urls #10

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

Tests/login urls #10

wants to merge 20 commits into from

Conversation

nifedara
Copy link
Owner

@nifedara nifedara commented Apr 7, 2024

What does this PR do?

Adds login URLs tests 馃帀

Consideration?

  • Although coverage didn't pick this as something to test, I added tests for this(URL) as it as it is essential to have
  • I used Black formatter
  • I didn't add coverage to the requirement file. So to check coverage, you have to install it yourself:
    • pip install coverage

How to test?

  • Clone this repo
  • Follow the installation guide
  • run docker exec -it api bash to run the following commands in the container:
    • coverage run --omit='*/usr/*' manage.py test tests.test_urls
    • or just coverage run manage.py test tests.test_urls
    • coverage report (to see a report of the test coverage)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant