add test case
(cherry picked from commit 4329dfcc177e020eef39fdfc0909187e9470b6b9)
This commit is contained in:
parent
d59d929eb2
commit
aef107a9ca
BIN
test/data/Sigma_APO_MACRO_180_F3.5_EX_DG.exv
Normal file
BIN
test/data/Sigma_APO_MACRO_180_F3.5_EX_DG.exv
Normal file
Binary file not shown.
15
tests/bugfixes/github/test_pr_992.py
Normal file
15
tests/bugfixes/github/test_pr_992.py
Normal file
@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import system_tests
|
||||
|
||||
class NikonSigmaLens_APO_MACRO_180_F35_EX_DG(metaclass=system_tests.CaseMeta):
|
||||
url = "https://github.com/Exiv2/exiv2/pull/992"
|
||||
|
||||
filename = "$data_path/Sigma_APO_MACRO_180_F3.5_EX_DG.exv"
|
||||
commands = ["$exiv2 -pa --grep lensid/i $filename"]
|
||||
stderr = [""]
|
||||
stdout = [""
|
||||
"""Exif.NikonLd3.LensIDNumber Byte 1 Sigma APO MACRO 180mm F3.5 EX DG
|
||||
"""
|
||||
]
|
||||
retval = [0]
|
||||
Loading…
Reference in New Issue
Block a user