Change test case

This commit is contained in:
zandercymatics 2024-02-02 09:45:16 -07:00
parent 7b60b9d5d4
commit 9e33539af2
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 1 additions and 5 deletions

View file

@ -50,7 +50,6 @@
<td data-label="Status"> <td data-label="Status">
<span class="usa-tooltip no-click-outline cursor-help" <span class="usa-tooltip no-click-outline cursor-help"
data-position="top" data-position="top"
title="{{domain.get_state_help_text}}"
aria-ignore="true" aria-ignore="true"
focusable="false"> focusable="false">
{# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #} {# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #}

View file

@ -153,11 +153,8 @@ class LoggedInTests(TestWithUser):
self.assertContains(response, domain_name, count=2) self.assertContains(response, domain_name, count=2)
# Check that we have the right text content. # Check that we have the right text content.
# We expect two instances because of SR content. self.assertContains(response, expected_message, count=1)
self.assertContains(response, expected_message, count=2)
# Check that its nested in the right html element
# Delete the role and domain to ensure we're testing in isolation # Delete the role and domain to ensure we're testing in isolation
user_role.delete() user_role.delete()
test_domain.delete() test_domain.delete()