Commit cf100b2e authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Remove desctructive ConfigWriter test

This test relies on bringing a configuration into an inconsistent state,
and doesn't work with WConfd any more.
Signed-off-by: default avatarPetr Pudlak <>
Reviewed-by: default avatarKlaus Aehlig <>
parent 3f3b6e7d
......@@ -439,20 +439,6 @@ class TestConfigRunner(unittest.TestCase):
self.assertEqual(set(grp2.members), set(["node1-uuid", "node2-uuid"]))
# Destructive tests
orig_group =
other_uuid = "68b3d087-6ea5-491c-b81f-0a47d90228c5"
assert compat.all( != other_uuid
for node in cfg.GetAllNodesInfo().values()) = "68b3d087-6ea5-491c-b81f-0a47d90228c5"
self.assertRaises(errors.ConfigurationError, cfg.AssignGroupNodes, [
(node2.uuid, grp2.uuid),
finally: = orig_group
def _TestVerifyConfigIPolicy(self, ipolicy, ipowner, cfg, isgroup):
INVALID_KEY = "this_key_cannot_exist"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment