From 61280e1e751dbb3ce2349ce7b4a4014fddaee23d Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 8 Dec 2020 02:37:55 +0100 Subject: [PATCH 1/2] fix: error in gandi.py --- octodns/provider/gandi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octodns/provider/gandi.py b/octodns/provider/gandi.py index 84ff291..8401ea4 100644 --- a/octodns/provider/gandi.py +++ b/octodns/provider/gandi.py @@ -357,7 +357,7 @@ class GandiProvider(BaseProvider): # We suppress existing exception before raising # GandiClientUnknownDomainName. e = GandiClientUnknownDomainName('This domain is not ' - 'registred at Gandi. ' + 'registered at Gandi. ' 'Please register or ' 'transfer it here ' 'to be able to manage its ' From 870c1209d34a689374752439eb8f41d9d99c6e90 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 8 Dec 2020 09:51:10 +0100 Subject: [PATCH 2/2] Update test_octodns_provider_gandi.py --- tests/test_octodns_provider_gandi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_octodns_provider_gandi.py b/tests/test_octodns_provider_gandi.py index 5871cc9..7e1c866 100644 --- a/tests/test_octodns_provider_gandi.py +++ b/tests/test_octodns_provider_gandi.py @@ -174,7 +174,7 @@ class TestGandiProvider(TestCase): GandiClientUnknownDomainName)) as ctx: plan = provider.plan(self.expected) provider.apply(plan) - self.assertIn('This domain is not registred at Gandi.', + self.assertIn('This domain is not registered at Gandi.', text_type(ctx.exception)) resp = Mock()