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

10223/refactor/delete unused functions from upstream accounts.py #10363

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Spaarsh
Copy link
Contributor

@Spaarsh Spaarsh commented Jan 19, 2025

Closes #10223

refactor

Technical

This implementation removes some functions in the accounts.py that are not required anymore. These largely dealt with signing up users and verifying their email IDs. Since we have shifted these operations to the Internet Archive infrastructure, these are obsolete.

Also note that the tests made for all the functions related to accounts have been marked as expected to fail prior to these commits.

Testing

Screenshot

Stakeholders

@scottbarnes

@Spaarsh
Copy link
Contributor Author

Spaarsh commented Jan 19, 2025

These tests have been marked as expected to fail since this commit and I haven't removed them for preventing confusion later on.

Here's a code snippet from the test_account.py

I would suggest a separate issue be made for the removal of those tests in order to assert that these changes do not have any impact on those tests.

@@ -56,7 +55,7 @@
RESULTS_PER_PAGE: Final = 25

# XXX: These need to be cleaned up
send_verification_email = accounts.send_verification_email
# send_verification_email = accounts.send_verification_email
Copy link
Member

Choose a reason for hiding this comment

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

Should this be deleted?

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.

Delete unused functions from upstream/account.py
3 participants