Merge pull request #1926 from postscript-dev/fix_sony_temperature_tags

Add conditions to 2 Sony temperature tags
This commit is contained in:
Kevin Backhouse
2021-09-29 22:26:08 +01:00
committed by GitHub
3 changed files with 50 additions and 9 deletions
+25
View File
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
from system_tests import CaseMeta, path
class Sony2FpAmbientTemperatureUnsupportedTagTest(metaclass=CaseMeta):
filename = path("$data_path/exiv2-bug1153Ja.exv")
commands = ["$exiv2 -pa --grep AmbientTemperature $filename"]
stdout = ["""Exif.Sony2Fp.AmbientTemperature SByte 1 n/a
"""
]
stderr = [""]
retval = [0]
class SonyMisc1CameraTemperatureUnsupportedTagTest(metaclass=CaseMeta):
filename = path("$data_path/exiv2-bug1145a.exv")
commands = ["$exiv2 -pa --grep SonyMisc1 $filename"]
stdout = ["""Exif.SonyMisc1.CameraTemperature SByte 1 n/a
"""
]
stderr = [""]
retval = [0]