From 9e33539af267d52be1485fb1e5cd023e4a1fe51a Mon Sep 17 00:00:00 2001
From: zandercymatics <141044360+zandercymatics@users.noreply.github.com>
Date: Fri, 2 Feb 2024 09:45:16 -0700
Subject: [PATCH] Change test case
---
src/registrar/templates/home.html | 1 -
src/registrar/tests/test_views.py | 5 +----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/registrar/templates/home.html b/src/registrar/templates/home.html
index 566a2d102..b5dab701b 100644
--- a/src/registrar/templates/home.html
+++ b/src/registrar/templates/home.html
@@ -50,7 +50,6 @@
{# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #}
diff --git a/src/registrar/tests/test_views.py b/src/registrar/tests/test_views.py
index a030b4404..0531d81d5 100644
--- a/src/registrar/tests/test_views.py
+++ b/src/registrar/tests/test_views.py
@@ -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()
|