mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-16 06:24:12 +02:00
temp test changes
This commit is contained in:
parent
e8fdf0c5d3
commit
3f79b562bd
2 changed files with 4 additions and 4 deletions
|
@ -161,12 +161,12 @@ class Domain(TimeStampedModel, DomainHelper):
|
||||||
"""Returns a help message for a desired state. If none is found, an empty string is returned"""
|
"""Returns a help message for a desired state. If none is found, an empty string is returned"""
|
||||||
help_texts = {
|
help_texts = {
|
||||||
# For now, unknown has the same message as DNS_NEEDED
|
# For now, unknown has the same message as DNS_NEEDED
|
||||||
cls.UNKNOWN: ("Before this domain can be used, " "you'll need to add name server addresses."),
|
cls.UNKNOWN: ("Before this domain can be used, " "you’ll need to add name server addresses."),
|
||||||
cls.DNS_NEEDED: ("Before this domain can be used, " "you'll need to add name server addresses."),
|
cls.DNS_NEEDED: ("Before this domain can be used, " "you’ll need to add name server addresses."),
|
||||||
cls.READY: "This domain has name servers and is ready for use.",
|
cls.READY: "This domain has name servers and is ready for use.",
|
||||||
cls.ON_HOLD: (
|
cls.ON_HOLD: (
|
||||||
"This domain is administratively paused, "
|
"This domain is administratively paused, "
|
||||||
"so it can't be edited and won't resolve in DNS. "
|
"so it can’t be edited and won’t resolve in DNS. "
|
||||||
"Contact help@get.gov for details."
|
"Contact help@get.gov for details."
|
||||||
),
|
),
|
||||||
cls.DELETED: ("This domain has been removed and " "is no longer registered to your organization."),
|
cls.DELETED: ("This domain has been removed and " "is no longer registered to your organization."),
|
||||||
|
|
|
@ -169,7 +169,7 @@ class HomeTests(TestWithUser):
|
||||||
self.assertContains(response, "You don't have any registered domains.")
|
self.assertContains(response, "You don't have any registered domains.")
|
||||||
self.assertContains(response, "Why don't I see my domain when I sign in to the registrar?")
|
self.assertContains(response, "Why don't I see my domain when I sign in to the registrar?")
|
||||||
|
|
||||||
@less_console_noise_decorator
|
# @less_console_noise_decorator
|
||||||
def test_state_help_text(self):
|
def test_state_help_text(self):
|
||||||
"""Tests if each domain state has help text"""
|
"""Tests if each domain state has help text"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue