Remove test condition for delegation to 2+ roles

Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
Vladimir Diaz 2018-03-06 10:15:22 -05:00
parent b68ad48cb1
commit b7cb025eae
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -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,