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

Fixes tests related to _populate_and_plan()

This commit is contained in:
Jonathan Leroy
2020-10-31 09:44:06 +01:00
parent 6f01a543df
commit 4fb102e4be

View File

@@ -310,8 +310,7 @@ class TestManager(TestCase):
pass
# This should be ok, we'll fall back to not passing it
manager._populate_and_plan('unit.tests.', None, False,
[NoLenient()], [])
manager._populate_and_plan('unit.tests.', [NoLenient()], [])
class NoZone(SimpleProvider):
@@ -320,8 +319,7 @@ class TestManager(TestCase):
# This will blow up, we don't fallback for source
with self.assertRaises(TypeError):
manager._populate_and_plan('unit.tests.', None, False,
[NoZone()], [])
manager._populate_and_plan('unit.tests.', [NoZone()], [])
def test_alias_zones(self):
with TemporaryDirectory() as tmpdir: