exiv2/tests/bugfixes/github/test_issue_426.py
2018-11-06 13:17:35 +01:00

15 lines
386 B
Python

# -*- coding: utf-8 -*-
import system_tests
class DetectsWrongLengthOfImageResourceInPSDFile(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/426"
filename = system_tests.path("$data_path/h02.psd")
commands = ["$exiv2 " + filename]
retval = [1]
stderr = ["""$exiv2_exception_message """ + filename + """:
$kerCorruptedMetadata
"""]