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

Fix for test broken since the changes that introduced the IsRetry arg… #12

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

salvmd
Copy link
Contributor

@salvmd salvmd commented Jan 9, 2020

…ument to the credential provider

@salvmd salvmd requested a review from satbai January 9, 2020 23:00
assert password == True

username, password = validating_provider.get_credentials(SUPPORTED_HOST + "404")
Copy link

Choose a reason for hiding this comment

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

No need to test 404 anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, this validation was wrong. It was meant to test the case where the credential provider is called again (this time wiht IsRetry=True), but it was actually not reaching that point and just returning "None" credentials, which is the case when the call can authenticate without credentials (public feed case).

@salvmd salvmd merged commit a6e3457 into master Jan 10, 2020
@salvmd salvmd deleted the users/salvmd/testfix branch January 10, 2020 20:38
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