Skip to content

Commit d00921f

Browse files
committed
Just check the standard checksum types
1 parent 6514fc0 commit d00921f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/framework/filetools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def test_checksums(self):
292292
self.assertTrue(ft.verify_checksum(fp, known_checksums['sha256']))
293293

294294
# Test dictionary-type checksums
295-
for checksum_type, checksum in known_checksums.items():
295+
for checksum in [known_checksums[x] for x in ('md5', 'sha256')]:
296296
dict_checksum = {os.path.basename(fp): checksum, 'foo': 'baa'}
297297
self.assertTrue(ft.verify_checksum(fp, dict_checksum))
298298

0 commit comments

Comments
 (0)