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

add working tests for the login view #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tony-nyagah
Copy link
Owner

What does this PR do?

This PR adds a test for the login view in the login app of the project.

Contributes to resolving issue: hotosm#229

Considerations

While looking at how to test the other views in the file, I had issues with the user not being logged in/authentication so I didn't test the GetMyData and callback views.

How to test?

You can run the specific tests for the views by running: python manage.py test tests.test_views_login.

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