-
Notifications
You must be signed in to change notification settings - Fork 480
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
Clever OAuth sign-up/sign-in integration tests #25074
Conversation
Any thoughts on where to put a helpers file to share helper methods between these two tests? |
# The user signs in through Google | ||
# The oauth endpoint (which is mocked) redirects to the oauth callback, | ||
# which in turn does some work and redirects to something else: homepage, finish_sign_up, etc. | ||
def sign_in_through_google |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love this cleanup!
re: where to put a helper file for these tests -- i think either |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇 yay, tests! great clean-up, too.
Hmm... |
Consider this a follow-on to #25062. Adds matching tests for Clever, and does significant cleanup on the Google tests as well, for readability.
New test cases: