[Pkg-privacy-commits] [mat] 10/68: Fix tests borken by the absence of exiftool

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository mat.

commit eb86ee003beaae68039ec0739a7d72c46c595175
Author: jvoisin <julien.voisin at dustri.org>
Date:   Sun Nov 15 14:45:03 2015 +0100

    Fix tests borken by the absence of exiftool
---
 test/test.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/test.py b/test/test.py
index e45912e..bd688c1 100644
--- a/test/test.py
+++ b/test/test.py
@@ -41,6 +41,10 @@ except ImportError:
     FILE_LIST.remove(('clean é.mp3', 'dirty é.mp3'))
     FILE_LIST.remove(('clean é.flac', 'dirty é.flac'))
 
+try:  # exiftool
+    subprocess.check_output(['exiftool', '-ver'])
+except:
+    FILE_LIST.remove(('clean é.tif', 'dirty é.tif'))
 
 class MATTest(unittest.TestCase):
     """

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list