Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add unit tests for valid email link
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Jul 6, 2022
1 parent 8e2d161 commit c645f74
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ def assert_cleaned_and_sent(
)

assert_one_email_sent(captured_emails, keep)
for captured_email in captured_emails:
assert_valid_email_link(captured_email)


def assert_valid_email_link(captured_email: CapturedEmail):
assert "https://api.openverse.engineering//" not in captured_email.message


def call_resendoauthverification(input_response="YES", **options):
Expand Down

0 comments on commit c645f74

Please sign in to comment.