exiv2/tests/bugfixes/github/test_issue_460.py
2023-06-02 00:25:13 +08:00

15 lines
375 B
Python

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