mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Remove test condition for delegation to 2+ roles
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
parent
b68ad48cb1
commit
b7cb025eae
1 changed files with 0 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue