Fix tests

This commit is contained in:
zandercymatics 2024-11-20 09:50:46 -07:00
parent 6d8a4ea93a
commit 4f67c18642
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -3205,11 +3205,6 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
expected_url = reverse("domain-request:portfolio_requesting_entity", kwargs={"id": domain_request.id})
# This returns the entire url, thus "in"
self.assertIn(expected_url, detail_page.request.url)
# We shouldn't show the "domains" and "domain requests" buttons
# on this page.
self.assertNotContains(detail_page, "Domains")
self.assertNotContains(detail_page, "<span>Domain requests")
else:
self.fail(f"Expected a redirect, but got a different response: {response}")