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

[change] Made get_one_time_login_url utility function #503

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

pandafy
Copy link
Member

@pandafy pandafy commented Jan 5, 2024

No description provided.

@coveralls
Copy link

coveralls commented Jan 5, 2024

Coverage Status

coverage: 98.776% (+0.002%) from 98.774%
when pulling d32fe55 on get-one-time-login-url
into cca5c19 on master.


@override_settings(AUTHENTICATION_BACKENDS=[])
def test_get_one_time_login_url(self):
get_one_time_login_url(None, None)
Copy link
Member

Choose a reason for hiding this comment

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

what is this test doing? Why there's isn't even one assertion here?

Copy link
Member Author

Choose a reason for hiding this comment

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

This test was ensuring that the function runs without any error is sesame backend is not present in the AUTHENTICATION_BACKENDS . I will add an assertion here.

@pandafy pandafy force-pushed the get-one-time-login-url branch from 0fb2e61 to d32fe55 Compare January 10, 2024 11:44
@nemesifier nemesifier merged commit b162832 into master Jan 10, 2024
20 checks passed
@nemesifier nemesifier deleted the get-one-time-login-url branch January 10, 2024 21:18
@nemesifier nemesifier changed the title [refactor] Made get_one_time_login_url utility function [change] Made get_one_time_login_url utility function Jan 10, 2024
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