mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Raise exception when no yamls are found for a zone
This commit is contained in:
@@ -663,8 +663,8 @@ class TestSplitYamlProvider(TestCase):
|
||||
zone = Zone('empty.', [])
|
||||
|
||||
# without it we see everything
|
||||
source.populate(zone)
|
||||
self.assertEqual(0, len(zone.records))
|
||||
with self.assertRaises(ProviderException):
|
||||
source.populate(zone)
|
||||
|
||||
def test_unsorted(self):
|
||||
source = SplitYamlProvider(
|
||||
|
||||
Reference in New Issue
Block a user