[testsuite] Addapt tests to new test suite structure

This commit is contained in:
Dan Čermák
2018-04-21 00:56:12 +02:00
parent c40c90141f
commit 11cd1eabf8
42 changed files with 202 additions and 200 deletions
+3 -3
View File
@@ -3,12 +3,12 @@
import system_tests
class Sigma24_105mmRecognization(system_tests.Case):
class Sigma24_105mmRecognization(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/45"
filename = "{data_path}/exiv2-g45.exv"
commands = ["{exiv2} -pa --grep lens/i " + filename]
filename = "$data_path/exiv2-g45.exv"
commands = ["$exiv2 -pa --grep lens/i " + filename]
stdout = ["""Exif.CanonCs.LensType Short 1 Sigma 24-105mm F4 DG OS HSM [Art 013]
Exif.CanonCs.Lens Short 3 24.0 - 105.0 mm
Exif.CanonCf.LensAFStopButton Short 1 0