@@ -303,7 +303,7 @@ def test_sha1_tagfile(self):
303303 info = {'Bagging-Date' : '1970-01-01' , 'Contact-Email' : 'ehs@pobox.com' }
304304 bag = bagit .make_bag (self .tmpdir , checksum = ['sha1' ], bag_info = info )
305305 self .assertTrue (os .path .isfile (j (self .tmpdir , 'tagmanifest-sha1.txt' )))
306- self .assertEqual (bag .entries ['bag-info.txt' ]['sha1' ], 'd7f086508df433e5d7464b5a3835d5501df14404 ' )
306+ self .assertEqual (bag .entries ['bag-info.txt' ]['sha1' ], 'ec70407d895d4e550bc0a7ea40a82ad653d136e5 ' )
307307
308308 def test_validate_unreadable_file (self ):
309309 bag = bagit .make_bag (self .tmpdir , checksum = ["md5" ])
@@ -360,15 +360,15 @@ def test_make_bag(self):
360360 self .assertTrue ('Contact-Email: ehs@pobox.com' in bag_info_txt )
361361 self .assertTrue ('Bagging-Date: 1970-01-01' in bag_info_txt )
362362 self .assertTrue ('Payload-Oxum: 991765.5' in bag_info_txt )
363- self .assertTrue ('Bag-Software-Agent: bagit.py <http://github.com/libraryofcongress/bagit-python>' in bag_info_txt )
363+ self .assertTrue ('Bag-Software-Agent: bagit.py v1.5.4 <http://github.com/libraryofcongress/bagit-python>' in bag_info_txt )
364364
365365 # check tagmanifest-md5.txt
366366 self .assertTrue (os .path .isfile (j (self .tmpdir , 'tagmanifest-md5.txt' )))
367367 with open (j (self .tmpdir , 'tagmanifest-md5.txt' )) as tm :
368368 tagmanifest_txt = tm .read ()
369369 self .assertTrue ('9e5ad981e0d29adc278f6a294b8c2aca bagit.txt' in tagmanifest_txt )
370370 self .assertTrue ('a0ce6631a2a6d1a88e6d38453ccc72a5 manifest-md5.txt' in tagmanifest_txt )
371- self .assertTrue ('6a5090e27cb29d5dda8a0142fbbdf37e bag-info.txt' in tagmanifest_txt )
371+ self .assertTrue ('bfe59ad8af1a227d27c191b4178c399f bag-info.txt' in tagmanifest_txt )
372372
373373 def test_make_bag_sha1_manifest (self ):
374374 bagit .make_bag (self .tmpdir , checksum = ['sha1' ])
0 commit comments