mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Apply suggestions from code review
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user