Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install:
- pip install tox tox-travis coveralls
- pip install setuptools -U
Expand Down
2 changes: 1 addition & 1 deletion iiif_validator/tests/rot_error_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def run(self, result):
self.validationInfo.check('status', result.last_status, 400, result)
return result
except Exception as error:
raise ValidatorError('url-check', str(error), 404, result, 'Failed to get random rotation from url: {}.'.format(url))
raise ValidatorError('url-check', str(error), 400, result, 'Failed to get random rotation from url: {}.'.format(url))
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
"lxml>=3.7.0"
],
extras_require={
':python_version>="3.0"': ["Pillow>=3.2.0"],
':python_version<"3.0"': ["Pillow==6.2.2"],
':python_version=="3.5"': ["Pillow>=7.2.0"],
':python_version>="3.6"': ["Pillow>=8.0.0"]
},
test_suite="tests",
tests_require=["mock"])