Use transport-neutral DNS and mailbox failure messages
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-21 17:32:52 +01:00
1 parent 066fbd9be3
commit 8974b55f98
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -498,8 +498,8 @@ def publish_dns_zone(publication_id):
DnsPublication.objects.all(), DnsPublication.objects.all(),
publication_id, publication_id,
apply_dns_publication, apply_dns_publication,
"Could not complete the request to the local BIND9 node. " "Could not complete the request to the BIND9 node. "
"Check its socket and try again.", "Check the node connection and try again.",
) )
@@ -516,8 +516,8 @@ def provision_mailbox(provisioning_id):
MailboxProvisioning.objects.select_related("mailbox__mail_domain"), MailboxProvisioning.objects.select_related("mailbox__mail_domain"),
provisioning_id, provisioning_id,
apply_mailbox_provisioning, apply_mailbox_provisioning,
"Could not complete the request to the local mail node. " "Could not complete the request to the mail node. "
"Check its socket and try again.", "Check the node connection and try again.",
) )
@@ -116,7 +116,7 @@ class MailboxProvisioningTests(TestCase):
detail = self.client.get(self.detail) detail = self.client.get(self.detail)
self.assertContains(detail, "Retry provisioning") self.assertContains(detail, "Retry provisioning")
self.assertContains( self.assertContains(
detail, "Could not complete the request to the local mail node" detail, "Could not complete the request to the mail node"
) )
self.assertRedirects(self.client.post(self.url), self.detail) self.assertRedirects(self.client.post(self.url), self.detail)
job.refresh_from_db() job.refresh_from_db()