Blame tests/bugfixes/github/test_issue_460.py

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