Skip to content

Tests/login urls#10

Open
nifedara wants to merge 20 commits intomasterfrom
tests/login-urls
Open

Tests/login urls#10
nifedara wants to merge 20 commits intomasterfrom
tests/login-urls

Conversation

@nifedara
Copy link
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

1 participant