mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-13 22:45:05 +02:00
Change test case
This commit is contained in:
parent
7b60b9d5d4
commit
9e33539af2
2 changed files with 1 additions and 5 deletions
|
@ -50,7 +50,6 @@
|
|||
<td data-label="Status">
|
||||
<span class="usa-tooltip no-click-outline cursor-help"
|
||||
data-position="top"
|
||||
title="{{domain.get_state_help_text}}"
|
||||
aria-ignore="true"
|
||||
focusable="false">
|
||||
{# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #}
|
||||
|
|
|
@ -153,11 +153,8 @@ class LoggedInTests(TestWithUser):
|
|||
self.assertContains(response, domain_name, count=2)
|
||||
|
||||
# Check that we have the right text content.
|
||||
# We expect two instances because of SR content.
|
||||
self.assertContains(response, expected_message, count=2)
|
||||
self.assertContains(response, expected_message, count=1)
|
||||
|
||||
# Check that its nested in the right html element
|
||||
|
||||
# Delete the role and domain to ensure we're testing in isolation
|
||||
user_role.delete()
|
||||
test_domain.delete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue