From 8639bc0af593a5f24fb0b974f9f9f923aded4512 Mon Sep 17 00:00:00 2001 From: Christian Funkhouser Date: Thu, 4 Apr 2019 10:29:55 -0400 Subject: [PATCH] Actually fix tests, include YAML Signed-off-by: Christian Funkhouser --- tests/config/simple-split.yaml | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tests/config/simple-split.yaml diff --git a/tests/config/simple-split.yaml b/tests/config/simple-split.yaml new file mode 100644 index 0000000..62d9f16 --- /dev/null +++ b/tests/config/simple-split.yaml @@ -0,0 +1,37 @@ +manager: + max_workers: 2 +providers: + in: + class: octodns.provider.yaml.SplitYamlProvider + directory: tests/config + dump: + class: octodns.provider.yaml.SplitYamlProvider + directory: env/YAML_TMP_DIR + # This is sort of ugly, but it shouldn't hurt anything. It'll just write out + # the target file twice where it and dump are both used + dump2: + class: octodns.provider.yaml.SplitYamlProvider + directory: env/YAML_TMP_DIR + simple: + class: helpers.SimpleProvider + geo: + class: helpers.GeoProvider + nosshfp: + class: helpers.NoSshFpProvider +zones: + unit.tests.: + sources: + - in + targets: + - dump + subzone.unit.tests.: + sources: + - in + targets: + - dump + - dump2 + empty.: + sources: + - in + targets: + - dump