|
|
|
@ -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): |
|
|
|
|