Merge pull request #641 from 0xflotus/patch-1

fix: error in gandi.py
This commit is contained in:
Ross McFarland
2020-12-08 06:36:55 -08:00
committed by GitHub
co-authored by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 '
+1 -1
View File
@@ -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()