mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 12:38:36 +02:00
Clean up
This commit is contained in:
parent
cb5e9e43ea
commit
2aff68216d
3 changed files with 7 additions and 6 deletions
|
@ -175,11 +175,11 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
cls.READY: "This domain has name servers and is ready for use.",
|
||||
cls.ON_HOLD: (
|
||||
"While on hold, this domain won't resolve in DNS and "
|
||||
"any infrastructure (like websites) will be offline.",
|
||||
"any infrastructure (like websites) will be offline."
|
||||
),
|
||||
cls.DELETED: (
|
||||
"This domain was permanently removed from the registry. "
|
||||
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline.",
|
||||
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline."
|
||||
),
|
||||
}
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@ class CreateOrUpdateOrganizationTypeHelper:
|
|||
# There is no avenue for this to occur in the UI,
|
||||
# as such - this can only occur if the object is initialized in this way.
|
||||
# Or if there are pre-existing data.
|
||||
logger.warning(
|
||||
logger.debug(
|
||||
"create_or_update_organization_type() -> is_election_board "
|
||||
f"cannot exist for {generic_org_type}. Setting to None."
|
||||
)
|
||||
|
|
|
@ -132,15 +132,16 @@ class TestDomainAdmin(MockEppLib, WebTest):
|
|||
'The state will switch to "DNS needed" after they access the domain in the registrar.'
|
||||
)
|
||||
expected_dns_message = (
|
||||
"Before this domain can be used, name server addresses need " "to be added within the registrar."
|
||||
"Before this domain can be used, name server addresses need "
|
||||
"to be added within the registrar."
|
||||
)
|
||||
expected_hold_message = (
|
||||
"While on hold, this domain won't resolve in DNS and "
|
||||
"any infrastructure (like websites) will be offline.",
|
||||
"any infrastructure (like websites) will be offline."
|
||||
)
|
||||
expected_deleted_message = (
|
||||
"This domain was permanently removed from the registry. "
|
||||
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline.",
|
||||
"The domain no longer resolves in DNS and any infrastructure (like websites) is offline."
|
||||
)
|
||||
expected_messages = [
|
||||
(self.ready_domain, "This domain has name servers and is ready for use."),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue