mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Unit test bug fix. Page structure change.
This commit is contained in:
@@ -17,7 +17,8 @@ def test_should_return_verify_template(app_,
|
||||
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
assert page.h1.text == 'Text verification'
|
||||
assert page.p.text == "We've sent you a text message with a verification code."
|
||||
message = page.find_all('p')[1].text
|
||||
assert message == "We've sent you a text message with a verification code."
|
||||
|
||||
|
||||
def test_should_redirect_to_add_service_when_sms_code_is_correct(app_,
|
||||
|
||||
Reference in New Issue
Block a user