1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Merge branch 'main' into checksumming

This commit is contained in:
Ross McFarland
2023-12-22 09:30:34 -08:00
committed by GitHub
3 changed files with 13 additions and 0 deletions

View File

@@ -79,6 +79,13 @@ class TestManager(TestCase):
)
self.assertTrue('missing sources' in str(ctx.exception))
def test_missing_zone(self):
with self.assertRaises(ManagerException) as ctx:
Manager(get_config_filename('dynamic-config.yaml')).sync(
['missing.zones.']
)
self.assertTrue('Requested zone ' in str(ctx.exception))
def test_missing_targets(self):
with self.assertRaises(ManagerException) as ctx:
Manager(get_config_filename('provider-problems.yaml')).sync(