mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Update tests
This commit is contained in:
parent
8c6b4f51e8
commit
6a53a4a76b
2 changed files with 11 additions and 5 deletions
|
@ -1309,7 +1309,7 @@ class TestDomainDetail(TestWithDomainPermissions, WebTest, MockEppLib):
|
|||
page = self.client.get(
|
||||
reverse("domain-nameservers", kwargs={"pk": self.domain.id})
|
||||
)
|
||||
self.assertContains(page, "Domain name servers")
|
||||
self.assertContains(page, "DNS name servers")
|
||||
|
||||
@skip("Broken by adding registry connection fix in ticket 848")
|
||||
def test_domain_nameservers_form(self):
|
||||
|
@ -1414,7 +1414,7 @@ class TestDomainDetail(TestWithDomainPermissions, WebTest, MockEppLib):
|
|||
page = self.client.get(
|
||||
reverse("domain-your-contact-information", kwargs={"pk": self.domain.id})
|
||||
)
|
||||
self.assertContains(page, "Domain contact information")
|
||||
self.assertContains(page, "Your contact information")
|
||||
|
||||
def test_domain_your_contact_information_content(self):
|
||||
"""Logged-in user's contact information appears on the page."""
|
||||
|
@ -1439,7 +1439,7 @@ class TestDomainDetail(TestWithDomainPermissions, WebTest, MockEppLib):
|
|||
)
|
||||
|
||||
# Loads correctly
|
||||
self.assertContains(page, "Domain security email")
|
||||
self.assertContains(page, "Security email")
|
||||
self.assertContains(page, "security@mail.gov")
|
||||
self.mockSendPatch.stop()
|
||||
|
||||
|
@ -1455,7 +1455,7 @@ class TestDomainDetail(TestWithDomainPermissions, WebTest, MockEppLib):
|
|||
)
|
||||
|
||||
# Loads correctly
|
||||
self.assertContains(page, "Domain security email")
|
||||
self.assertContains(page, "Security email")
|
||||
self.assertNotContains(page, "dotgov@cisa.dhs.gov")
|
||||
self.mockSendPatch.stop()
|
||||
|
||||
|
@ -1464,7 +1464,7 @@ class TestDomainDetail(TestWithDomainPermissions, WebTest, MockEppLib):
|
|||
page = self.client.get(
|
||||
reverse("domain-security-email", kwargs={"pk": self.domain.id})
|
||||
)
|
||||
self.assertContains(page, "Domain security email")
|
||||
self.assertContains(page, "Security email")
|
||||
|
||||
def test_domain_security_email_form(self):
|
||||
"""Adding a security email works.
|
||||
|
|
6
~
Normal file
6
~
Normal file
|
@ -0,0 +1,6 @@
|
|||
GPG_TTY=$(tty)
|
||||
export GPG_TTY
|
||||
|
||||
#Add RVM to PATH for scripting. Make sure this is the last PATH variable change
|
||||
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
Loading…
Add table
Add a link
Reference in a new issue