From b7cb025eae6f86ee8ee4537bbc04e7d3da39441a Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Tue, 6 Mar 2018 10:15:22 -0500 Subject: [PATCH] Remove test condition for delegation to 2+ roles Signed-off-by: Vladimir Diaz --- tests/test_repository_tool.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/test_repository_tool.py b/tests/test_repository_tool.py index 0bf8b318..7d2e6e6c 100755 --- a/tests/test_repository_tool.py +++ b/tests/test_repository_tool.py @@ -1189,12 +1189,6 @@ def test_delegate(self): self.assertEqual(self.targets_object.get_delegated_rolenames(), ['tuf']) - # Try to delegate to a role that has already been delegated. - self.assertRaises(securesystemslib.exceptions.Error, - self.targets_object.delegate, rolename, public_keys, paths, threshold, - terminating=False, list_of_targets=list_of_targets, - path_hash_prefixes=path_hash_prefixes) - # Test for targets that do not exist under the targets directory. self.targets_object.revoke(rolename) self.assertRaises(securesystemslib.exceptions.Error,