added unit test

This commit is contained in:
David Kennedy 2024-04-10 13:51:35 -04:00
parent 14cfaa7f4c
commit 0db398321b
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -1553,6 +1553,10 @@ class TestDomainRequestAdmin(MockEppLib):
# Test for the copy link
self.assertContains(response, "usa-button__clipboard", count=4)
# Test that Creator counts display properly
self.assertNotContains(response, "Approved domains")
self.assertContains(response, "Active requests")
def test_save_model_sets_restricted_status_on_user(self):
with less_console_noise():
# make sure there is no user with this email