[testsuite] Use system_tests.path() in some test cases
parent
4e32929956
commit
23e29e9527
@ -1,17 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import system_tests
|
||||
from system_tests import CaseMeta, path
|
||||
|
||||
|
||||
class CanonEOSM100(metaclass=system_tests.CaseMeta):
|
||||
class CanonEOSM100(metaclass=CaseMeta):
|
||||
|
||||
filename = "$data_path/exiv2-pr317.exv"
|
||||
filename = path("$data_path/exiv2-pr317.exv")
|
||||
commands = ["$exiv2 -pa --grep model/i $filename"]
|
||||
|
||||
stdout = ["""Exif.Image.Model Ascii 15 Canon EOS M100
|
||||
Exif.Canon.ModelID Long 1 EOS M100
|
||||
Exif.Photo.LensModel Ascii 29 EF-M15-45mm f/3.5-6.3 IS STM
|
||||
"""
|
||||
]
|
||||
]
|
||||
stderr = [""]
|
||||
retval = [0]
|
||||
retval = [0]
|
||||
|
Loading…
Reference in New Issue