Add SonySInfo1 testing
SonySInfo1 is currently supported by all Sony cameras so does not need to test for unsupported models.main
parent
0144209ed0
commit
caa0aa4a1d
@ -0,0 +1,20 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from system_tests import CaseMeta, path
|
||||||
|
|
||||||
|
#Full support for SonyMisc3c tags using this model
|
||||||
|
class SonyMisc3cSupportedTest(metaclass=CaseMeta):
|
||||||
|
|
||||||
|
filename = path("$data_path/exiv2-SonyDSC-HX60V.exv")
|
||||||
|
commands = ["$exiv2 -pa --grep SonySInfo1 $filename"]
|
||||||
|
|
||||||
|
stdout = ["""Exif.SonySInfo1.SonyDateTime Ascii 20 2014:01:01 00:52:22
|
||||||
|
Exif.SonySInfo1.SonyImageHeight Short 1 3888
|
||||||
|
Exif.SonySInfo1.SonyImageWidth Short 1 5184
|
||||||
|
Exif.SonySInfo1.FacesDetected Short 1 0
|
||||||
|
Exif.SonySInfo1.MetaVersion Ascii 16 DC7303320222000
|
||||||
|
"""
|
||||||
|
]
|
||||||
|
stderr = [""]
|
||||||
|
retval = [0]
|
||||||
|
|
Loading…
Reference in New Issue