Browse Source

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

fix: error in gandi.py
pull/642/head
Ross McFarland 5 years ago
committed by GitHub
parent
commit
16241d29a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      octodns/provider/gandi.py
  2. +1
    -1
      tests/test_octodns_provider_gandi.py

+ 1
- 1
octodns/provider/gandi.py View File

@ -357,7 +357,7 @@ class GandiProvider(BaseProvider):
# We suppress existing exception before raising # We suppress existing exception before raising
# GandiClientUnknownDomainName. # GandiClientUnknownDomainName.
e = GandiClientUnknownDomainName('This domain is not ' e = GandiClientUnknownDomainName('This domain is not '
'registred at Gandi. '
'registered at Gandi. '
'Please register or ' 'Please register or '
'transfer it here ' 'transfer it here '
'to be able to manage its ' 'to be able to manage its '


+ 1
- 1
tests/test_octodns_provider_gandi.py View File

@ -174,7 +174,7 @@ class TestGandiProvider(TestCase):
GandiClientUnknownDomainName)) as ctx: GandiClientUnknownDomainName)) as ctx:
plan = provider.plan(self.expected) plan = provider.plan(self.expected)
provider.apply(plan) 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)) text_type(ctx.exception))
resp = Mock() resp = Mock()


Loading…
Cancel
Save