Skip to content

Commit

Permalink
test: add new test for lens
Browse files Browse the repository at this point in the history
  • Loading branch information
hassec committed Jul 28, 2021
1 parent e086c7c commit 0f0885b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added test/data/canon_ef_100_400mm_f4.5_5.6_2x_.exv
Binary file not shown.
12 changes: 12 additions & 0 deletions tests/bugfixes/github/test_pr_1688.py
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 0f0885b

Please sign in to comment.