From 5d2d6037c7a89b4242b0e2221a694b77ab7b8f8b Mon Sep 17 00:00:00 2001 From: postscript-dev <43813-postscript-dev@users.noreply.gitlab.gnome.org> Date: Sun, 11 Jul 2021 16:50:24 +0100 Subject: [PATCH] Add python test for SonyMisc1 --- tests/bugfixes/github/test_pr_1772.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/bugfixes/github/test_pr_1772.py diff --git a/tests/bugfixes/github/test_pr_1772.py b/tests/bugfixes/github/test_pr_1772.py new file mode 100644 index 00000000..a06ad0fc --- /dev/null +++ b/tests/bugfixes/github/test_pr_1772.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- + +from system_tests import CaseMeta, path + +class SonyMisc1Test(metaclass=CaseMeta): + + filename = path("$data_path/exiv2-pr906.exv") + commands = ["$exiv2 -pa --grep SonyMisc1 $filename"] + + stdout = ["""Exif.SonyMisc1.CameraTemperature SByte 1 26 °C +""" + ] + stderr = [""] + retval = [0]