Add test for Canon M100 ModelID

This commit is contained in:
Daniel Zucchetto 2018-05-21 19:59:46 +01:00 committed by Dan Čermák
parent 4e55af8691
commit cb5135f772
2 changed files with 17 additions and 0 deletions

BIN
test/data/exiv2-pr317.exv Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-
import system_tests
class CanonEOSM100(metaclass=system_tests.CaseMeta):
filename = "$data_path/exiv2-pr317.exv"
commands = ["$exiv2 -pa --grep model/i $filename"]
stdout = ["""Exif.Image.Model Ascii 15 Canon EOS M100
Exif.Canon.ModelID Long 1 EOS M100
Exif.Photo.LensModel Ascii 29 EF-M15-45mm f/3.5-6.3 IS STM
"""
]
stderr = [""]
retval = [0]