mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix test content
This commit is contained in:
@@ -415,7 +415,7 @@ def test_signed_in_existing_user_cannot_use_anothers_invite(
|
|||||||
_follow_redirects=True,
|
_follow_redirects=True,
|
||||||
_expected_status=403,
|
_expected_status=403,
|
||||||
)
|
)
|
||||||
assert page.h1.string.strip() == 'You are not allowed to see this page'
|
assert page.h1.string.strip() == 'You’re not allowed to see this page'
|
||||||
flash_banners = page.find_all('div', class_='banner-dangerous')
|
flash_banners = page.find_all('div', class_='banner-dangerous')
|
||||||
assert len(flash_banners) == 1
|
assert len(flash_banners) == 1
|
||||||
banner_contents = flash_banners[0].text.strip()
|
banner_contents = flash_banners[0].text.strip()
|
||||||
|
|||||||
Reference in New Issue
Block a user