Browse Source

Fixes tests related to _populate_and_plan()

pull/592/head
Jonathan Leroy 5 years ago
parent
commit
4fb102e4be
No known key found for this signature in database GPG Key ID: 7A0BCBE3934842EA
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      tests/test_octodns_manager.py

+ 2
- 4
tests/test_octodns_manager.py 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:


Loading…
Cancel
Save