This commit is contained in:
zandercymatics 2024-04-15 15:23:16 -06:00
parent cb5e9e43ea
commit 2aff68216d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 7 additions and 6 deletions

View file

@ -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."
),
}

View file

@ -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."
)

View file

@ -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."),