exiv2/tests/bugfixes/github/test_pr_1808.py
postscript-dev caa0aa4a1d Add SonySInfo1 testing
SonySInfo1 is currently supported by all Sony cameras so does not need
to test for unsupported models.
2021-07-30 15:59:52 +02:00

21 lines
717 B
Python

# -*- 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]