mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Removed the specific config file used missing zone test use case
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
manager:
|
||||
max_workers: 2
|
||||
providers:
|
||||
in:
|
||||
class: octodns.provider.yaml.YamlProvider
|
||||
directory: tests/config
|
||||
dump:
|
||||
class: octodns.provider.yaml.YamlProvider
|
||||
directory: env/YAML_TMP_DIR
|
||||
zones:
|
||||
unit.tests.:
|
||||
sources:
|
||||
- in
|
||||
targets:
|
||||
- dump
|
||||
@@ -81,7 +81,7 @@ class TestManager(TestCase):
|
||||
|
||||
def test_missing_zone(self):
|
||||
with self.assertRaises(ManagerException) as ctx:
|
||||
Manager(get_config_filename('missing-zone-config.yaml')).sync(
|
||||
Manager(get_config_filename('dynamic-config.yaml')).sync(
|
||||
['missing.zones.']
|
||||
)
|
||||
self.assertTrue('Passed zone:' in str(ctx.exception))
|
||||
|
||||
Reference in New Issue
Block a user