Browse Source

Removed the specific config file used missing zone test use case

pull/1125/head
Alizey Jalil 2 years ago
parent
commit
dc4addc837
2 changed files with 1 additions and 16 deletions
  1. +0
    -15
      tests/config/missing-zone-config.yaml
  2. +1
    -1
      tests/test_octodns_manager.py

+ 0
- 15
tests/config/missing-zone-config.yaml View File

@ -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

+ 1
- 1
tests/test_octodns_manager.py View File

@ -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))


Loading…
Cancel
Save