update ppi-too-low test
@@ -116,11 +116,11 @@ class TestWorkspaceValidator(TestCase):
workspace.mets.add_file('OCR-D-GT-BIN', ID='file1', mimetype='image/png', pageId='page1', url=imgpath)
workspace.save_mets()
report = WorkspaceValidator.validate(self.resolver, join(tempdir, 'mets.xml'), skip=[], download=True)
- self.assertEqual(len(report.warnings), 2)
- self.assertIn("xResolution", report.warnings[0])
- self.assertIn("yResolution", report.warnings[1])
+ self.assertEqual(len(report.notices), 2)
+ self.assertIn("xResolution", report.notices[0])
+ self.assertIn("yResolution", report.notices[1])
+ self.assertEqual(len(report.warnings), 0)
self.assertEqual(len(report.errors), 0)
- self.assertEqual(len(report.notices), 0)
def test_bad_workspace(self):
report = WorkspaceValidator.validate(self.resolver, 'non existe')
