We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648be0a commit 403f4e8Copy full SHA for 403f4e8
bagit.py
@@ -855,7 +855,7 @@ def _validate_completeness(self):
855
errors.append(e)
856
857
if errors:
858
- raise BagValidationError(_("Bag validation failed"), errors)
+ raise BagValidationError(_("Bag is incomplete"), errors)
859
860
def _validate_entries(self, processes):
861
"""
test.py
@@ -219,7 +219,7 @@ def test_validation_completeness_error_details(self):
219
got_exception = True
220
221
exc_str = str(e)
222
- self.assertIn("Bag validation failed: ", exc_str)
+ self.assertIn("Bag is incomplete: ", exc_str)
223
self.assertIn(
224
"bag-info.txt exists in manifest but was not found on filesystem",
225
exc_str,
0 commit comments