test: add new test for lens
This commit is contained in:
parent
e086c7cbd2
commit
0f0885b0d6
BIN
test/data/canon_ef_100_400mm_f4.5_5.6_2x_.exv
Normal file
BIN
test/data/canon_ef_100_400mm_f4.5_5.6_2x_.exv
Normal file
Binary file not shown.
12
tests/bugfixes/github/test_pr_1688.py
Normal file
12
tests/bugfixes/github/test_pr_1688.py
Normal file
@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from system_tests import CaseMeta
|
||||
|
||||
class Canon_EF_100_400mm_F45_56_2x(metaclass=CaseMeta):
|
||||
|
||||
filename = "$data_path/canon_ef_100_400mm_f4.5_5.6_2x_.exv"
|
||||
commands = ["$exiv2 -pa -g LensType $filename"]
|
||||
|
||||
stdout = ["Exif.CanonCs.LensType Short 1 Tamron 100-400mm f/4.5-6.3 Di VC USD + 2x *OR* Canon EF 100-400mm f/4.5-5.6L IS II USM + 2x\n"]
|
||||
stderr = [""]
|
||||
retval = [0]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user