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

Fixes linting issues

This commit is contained in:
Jonathan Leroy
2020-10-31 14:19:43 +01:00
parent b0da090723
commit a6d8848fad

View File

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