Browse Source

Apply suggestions from code review

pull/1125/head
Ross McFarland 2 years ago
committed by GitHub
parent
commit
9e1aa7b8ed
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/manager.py
  2. +1
    -1
      tests/test_octodns_manager.py

+ 1
- 1
octodns/manager.py View File

@ -604,7 +604,7 @@ class Manager(object):
for zone_name, config in zones.items():
if config is None:
raise ManagerException(
f'Passed zone: {zone_name} not found in config'
f'Requested zone "{zone_name}" not found in config'
)
decoded_zone_name = idna_decode(zone_name)
self.log.info('sync: zone=%s', decoded_zone_name)


+ 1
- 1
tests/test_octodns_manager.py View File

@ -84,7 +84,7 @@ class TestManager(TestCase):
Manager(get_config_filename('dynamic-config.yaml')).sync(
['missing.zones.']
)
self.assertTrue('Passed zone:' in str(ctx.exception))
self.assertTrue('Requested zone:' in str(ctx.exception))
def test_missing_targets(self):
with self.assertRaises(ManagerException) as ctx:


Loading…
Cancel
Save