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

Add - Test case.

This commit is contained in:
Matt
2018-11-04 13:16:26 +11:00
parent 933a56d8f9
commit 84c883c67f

View File

@@ -60,6 +60,12 @@ class TestYamlProvider(TestCase):
# There should be no changes after the round trip
reloaded = Zone('unit.tests.', [])
target.populate(reloaded)
self.assertDictEqual(
{'included': ['test']},
filter(
lambda x: x.name == 'included', reloaded.records
)[0]._octodns)
self.assertFalse(zone.changes(reloaded, target=source))
# A 2nd sync should still create everything