removed print statements

This commit is contained in:
asaki222 2024-10-23 22:05:16 -04:00
parent eb2a5f6a17
commit a9aa8b16ef
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
5 changed files with 23 additions and 29 deletions

View file

@ -576,13 +576,6 @@ class TestDomainRequestAdmin(MockEppLib):
response = self.client.get("/admin/registrar/domainrequest/?generic_org_type__exact=federal")
# There are 2 template references to Federal (4) and two in the results data
# of the request
html_content = response.content.decode('utf-8')
# Write the HTML content to a file
with open("output.html", "w", encoding="utf-8") as html_file:
html_file.write(html_content)
self.assertContains(response, "Federal", count=48)
# This may be a bit more robust
self.assertContains(response, '<td class="field-converted_generic_org_type">federal</td>', count=1)
# Now let's make sure the long description does not exist