We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6514fc0 commit d00921fCopy full SHA for d00921f
1 file changed
test/framework/filetools.py
@@ -292,7 +292,7 @@ def test_checksums(self):
292
self.assertTrue(ft.verify_checksum(fp, known_checksums['sha256']))
293
294
# Test dictionary-type checksums
295
- for checksum_type, checksum in known_checksums.items():
+ for checksum in [known_checksums[x] for x in ('md5', 'sha256')]:
296
dict_checksum = {os.path.basename(fp): checksum, 'foo': 'baa'}
297
self.assertTrue(ft.verify_checksum(fp, dict_checksum))
298
0 commit comments