From 25d98780fbfed9f2cdd895fe3a876ea29dcf081d Mon Sep 17 00:00:00 2001 From: Vladimir Diaz Date: Tue, 27 Oct 2015 17:15:46 -0400 Subject: [PATCH] Review 'test_extraneous_dependencies_attack.py' --- tests/test_extraneous_dependencies_attack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_extraneous_dependencies_attack.py b/tests/test_extraneous_dependencies_attack.py index 2ff98971..cece8f89 100755 --- a/tests/test_extraneous_dependencies_attack.py +++ b/tests/test_extraneous_dependencies_attack.py @@ -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']