mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Review 'test_extraneous_dependencies_attack.py'
This commit is contained in:
parent
7f91f56802
commit
25d98780fb
1 changed files with 2 additions and 2 deletions
|
|
@ -214,8 +214,8 @@ def test_with_tuf(self):
|
|||
try:
|
||||
self.repository_updater.targets_of_role('targets/role1')
|
||||
|
||||
# Verify that the specific 'tuf.BadHashError' exception is raised by each
|
||||
# mirror.
|
||||
# Verify that the specific 'tuf.ForbiddenTargetError' exception is raised
|
||||
# by each mirror.
|
||||
except tuf.NoWorkingMirrorError as exception:
|
||||
for mirror_url, mirror_error in six.iteritems(exception.mirror_errors):
|
||||
url_prefix = self.repository_mirrors['mirror1']['url_prefix']
|
||||
|
|
|
|||
Loading…
Reference in a new issue