@@ -266,7 +266,6 @@ def test_verify_root_with_current_keyids_and_threshold(self):
266266 self .repository_updater .refresh ()
267267
268268 for mirror_url , mirror_error in six .iteritems (cm .exception .mirror_errors ):
269- # Verify that '2.root.json' is the culprit.
270269 self .assertTrue (mirror_url .endswith ('/2.root.json' ))
271270 self .assertTrue (isinstance (mirror_error ,
272271 securesystemslib .exceptions .BadSignatureError ))
@@ -409,7 +408,6 @@ def test_root_rotation_missing_keys(self):
409408 self .repository_updater .refresh ()
410409
411410 for mirror_url , mirror_error in six .iteritems (cm .exception .mirror_errors ):
412- # Verify that '2.root.json' is the culprit.
413411 self .assertTrue (mirror_url .endswith ('/2.root.json' ))
414412 self .assertTrue (isinstance (mirror_error ,
415413 securesystemslib .exceptions .BadSignatureError ))
@@ -485,7 +483,6 @@ def test_root_rotation_unmet_last_version_threshold(self):
485483 self .repository_updater .refresh ()
486484
487485 for mirror_url , mirror_error in six .iteritems (cm .exception .mirror_errors ):
488- # Verify that '2.root.json' is the culprit.
489486 self .assertTrue (mirror_url .endswith ('/3.root.json' ))
490487 self .assertTrue (isinstance (mirror_error ,
491488 securesystemslib .exceptions .BadSignatureError ))
@@ -532,7 +529,6 @@ def test_root_rotation_unmet_new_threshold(self):
532529 self .repository_updater .refresh ()
533530
534531 for mirror_url , mirror_error in six .iteritems (cm .exception .mirror_errors ):
535- # Verify that '2.root.json' is the culprit.
536532 self .assertTrue (mirror_url .endswith ('/3.root.json' ))
537533 self .assertTrue (isinstance (mirror_error ,
538534 securesystemslib .exceptions .BadSignatureError ))
@@ -568,7 +564,6 @@ def test_root_rotation_discard_untrusted_version(self):
568564 self .repository_updater .refresh ()
569565
570566 for mirror_url , mirror_error in six .iteritems (cm .exception .mirror_errors ):
571- # Verify that '2.root.json' is the culprit.
572567 self .assertTrue (mirror_url .endswith ('/2.root.json' ))
573568 self .assertTrue (isinstance (mirror_error ,
574569 securesystemslib .exceptions .BadSignatureError ))
0 commit comments