Skip to content

Commit

Permalink
Update unit test and CHANGELOG for point release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedarcy committed Nov 8, 2018
1 parent ed97b77 commit 59bca5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGE LOG

## 1.5.1

* Fixed bug with `bdbagit.save()` and "strict mode" version check logic
that prohibited mixing of checksum types for payload files when the
`bagit` specification version of the bag being updated was < `1.0`.
Added a unit test that would have caught it.

## 1.5.0

Expand Down
3 changes: 1 addition & 2 deletions test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ def test_update_bag_mixed_checksums_allowed(self):
bdb.make_bag(self.test_data_dir,
update=True,
remote_file_manifest=ospj(self.test_config_dir,
'test-fetch-manifest-mixed-checksums.json'),
config_file=(ospj(self.test_config_dir, 'test-config-2.json')))
'test-fetch-manifest-mixed-checksums.json'))
bdb.validate_bag(self.test_bag_dir, fast=True)
except Exception as e:
self.fail(get_typed_exception(e))
Expand Down

0 comments on commit 59bca5c

Please sign in to comment.