Skip to content

Instantly share code, notes, and snippets.

@Johnetordoff
Created February 24, 2023 16:24
Show Gist options
  • Save Johnetordoff/27a786c1e1be991aaaef288a07897ec0 to your computer and use it in GitHub Desktop.
Save Johnetordoff/27a786c1e1be991aaaef288a07897ec0 to your computer and use it in GitHub Desktop.
=================================== FAILURES ===================================
______ TestResendConfirmation.test_can_receive_resend_confirmation_email _______
tests/test_webtests.py:765: in test_can_receive_resend_confirmation_email
assert_true(mock_send_mail.called)
E AssertionError: False is not true
____ TestResendConfirmation.test_cannot_receive_resend_confirmation_email_1 ____
tests/test_webtests.py:783: in test_cannot_receive_resend_confirmation_email_1
assert_in_html('has already been confirmed', res)
tests/test_webtests.py:50: in assert_in_html
return assert_in(member, container, **kwargs)
E AssertionError: Markup('has already been confirmed') not found in <200 OK text/html body=b'\n\n<!DO...\n\n'/16991>
____ TestResendConfirmation.test_cannot_receive_resend_confirmation_email_2 ____
tests/test_webtests.py:798: in test_cannot_receive_resend_confirmation_email_2
assert_in_html('If there is an OSF account', res)
tests/test_webtests.py:50: in assert_in_html
return assert_in(member, container, **kwargs)
E AssertionError: Markup('If there is an OSF account') not found in <200 OK text/html body=b'\n\n<!DO...\n\n'/16977>
_____ TestResendConfirmation.test_cannot_resend_confirmation_twice_quickly _____
tests/test_webtests.py:812: in test_cannot_resend_confirmation_twice_quickly
assert_in_html('Please wait', res)
tests/test_webtests.py:50: in assert_in_html
return assert_in(member, container, **kwargs)
E AssertionError: Markup('Please wait') not found in <200 OK text/html body=b'\n\n<!DO...\n\n'/16991>
=============================== warnings summary ===============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment