Browse Source

Rename extention zonefile test to avoid existing unit.tests.

pull/664/head
Ross McFarland 5 years ago
parent
commit
97feaa7823
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
2 changed files with 7 additions and 7 deletions
  1. +3
    -3
      tests/test_octodns_source_axfr.py
  2. +4
    -4
      tests/zones/ext.unit.tests.extension

+ 3
- 3
tests/test_octodns_source_axfr.py View File

@ -45,12 +45,12 @@ class TestAxfrSource(TestCase):
class TestZoneFileSource(TestCase):
source = ZoneFileSource('test', './tests/zones')
source_extension = ZoneFileSource('test', './tests/zones', 'extension')
def test_zonefiles_with_extension(self):
source = ZoneFileSource('test', './tests/zones', 'extension')
# Load zonefiles with a specified file extension
valid = Zone('unit.tests.', [])
self.source_extension.populate(valid)
valid = Zone('ext.unit.tests.', [])
source.populate(valid)
self.assertEquals(1, len(valid.records))
def test_populate(self):


tests/zones/unit.tests.extension → tests/zones/ext.unit.tests.extension View File


Loading…
Cancel
Save