Browse Source

Fixes linting issues

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

+ 3
- 3
tests/test_octodns_manager.py View File

@ -172,14 +172,14 @@ class TestManager(TestCase):
environ['YAML_TMP_DIR'] = tmpdir.dirname
# Only allow a target that doesn't exist
tc = Manager(get_config_filename('simple-alias-zone.yaml')) \
.sync()
.sync()
self.assertEquals(0, tc)
with self.assertRaises(ManagerException) as ctx:
tc = Manager(get_config_filename('unknown-source-zone.yaml')) \
.sync()
.sync()
self.assertEquals('Invalid alias zone alias.tests.: source zone '
'does-not-exists.tests. does not exist',
'does-not-exists.tests. does not exist',
text_type(ctx.exception))
def test_compare(self):


Loading…
Cancel
Save