Review 'test_extraneous_dependencies_attack.py'

This commit is contained in:
Vladimir Diaz 2015-10-27 17:15:46 -04:00
parent 7f91f56802
commit 25d98780fb

View file

@ -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']