File: test_pr_1375.py

package info (click to toggle)
exiv2 0.28.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 109,208 kB
  • sloc: cpp: 77,571; python: 9,474; javascript: 237; makefile: 190; sh: 172; ansic: 51; sed: 16
file content (14 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- coding: utf-8 -*-

import system_tests

class Olympus_MZuiko_17mm_f12_Pro(metaclass=system_tests.CaseMeta):
    url = "https://github.com/Exiv2/exiv2/pull/1375"
    
    filename = "$data_path/olympus-m.zuiko-17mm-f1.2-pro.exv"
    commands  = ["$exiv2 -pa -K Exif.OlympusEq.LensType $filename"]
    stderr = ["""Warning: Directory OlympusCs, entry 0x0101: Strip 0 is outside of the data area; ignored.
"""]
    stdout = ["""Exif.OlympusEq.LensType                      Byte        6  Olympus M.Zuiko Digital ED 17mm F1.2 Pro
"""]
    retval = [0]