From 4eac8414746ac38baeda35afda0a8b0dae5c99ef Mon Sep 17 00:00:00 2001 From: Sturmflut Date: Fri, 4 Feb 2022 23:25:28 +0100 Subject: [PATCH] Add test for Pull Request #2069 (Sigma 12-24mm F4 DG HSM Art lens for Nikon) --- tests/bugfixes/github/test_pr_2069.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/bugfixes/github/test_pr_2069.py diff --git a/tests/bugfixes/github/test_pr_2069.py b/tests/bugfixes/github/test_pr_2069.py new file mode 100644 index 0000000000..fd4f9ee8ff --- /dev/null +++ b/tests/bugfixes/github/test_pr_2069.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- + +import system_tests + +class NikonSigmaLens_APO_MACRO_180_F35_EX_DG_HSM(metaclass=system_tests.CaseMeta): + url = "https://github.com/Exiv2/exiv2/pull/2069" + + filename = "$data_path/Sigma_12-24mm_F4_DG_HSM_Art.exv" + commands = ["$exiv2 -pa --grep lensid/i $filename"] + stderr = [""] + stdout = ["" + """Exif.NikonLd3.LensIDNumber Byte 1 Sigma 12-24mm F4 DG HSM Art +""" +] + retval = [0]