Skip to content

Commit de13a9b

Browse files
committed
Merge pull request #36 from johnscancella/master
fixing broken test that asserted wrong sha1 hash
2 parents 6312764 + 2861b91 commit de13a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def test_validate_optional_tagfile(self):
272272
def test_sha1_tagfile(self):
273273
bag = bagit.make_bag(self.tmpdir, checksum=['sha1'])
274274
self.assertTrue(os.path.isfile(j(self.tmpdir, 'tagmanifest-sha1.txt')))
275-
self.assertEqual(bag.entries['bag-info.txt']['sha1'], 'b537642e07abc0c22c428aee65180e97f78e61dc')
275+
self.assertEqual(bag.entries['bag-info.txt']['sha1'], 'a55b819e08b1de926b3d70a65a6e0ffd35269b56')
276276

277277
def test_validate_unreadable_file(self):
278278
bag = bagit.make_bag(self.tmpdir, checksum=["md5"])

0 commit comments

Comments
 (0)