diff options
| author | jvoisin | 2013-04-05 11:00:47 +0200 |
|---|---|---|
| committer | jvoisin | 2013-04-05 11:00:47 +0200 |
| commit | 8516bb77f86ebdcedb1e64f56f9acd673027ddcb (patch) | |
| tree | a93079693531263dfc5802ea42313c53dcaa0493 /test/test.py | |
| parent | 861996f614950c7061097a049efd56f5a0a4b6a5 (diff) | |
| parent | 3d8e11ce644833106f22778f3171c52a51ff69fe (diff) | |
Merge branches 'gi_jack' and 'gtk3'
Conflicts:
mat-gui
Diffstat (limited to 'test/test.py')
| -rw-r--r-- | test/test.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/test.py b/test/test.py index 675c4f9..ef1c768 100644 --- a/test/test.py +++ b/test/test.py | |||
| @@ -15,7 +15,7 @@ import tempfile | |||
| 15 | import unittest | 15 | import unittest |
| 16 | import subprocess | 16 | import subprocess |
| 17 | 17 | ||
| 18 | VERBOSITY = 3 | 18 | VERBOSITY = 15 |
| 19 | 19 | ||
| 20 | clean = glob.glob('clean*') | 20 | clean = glob.glob('clean*') |
| 21 | clean.sort() | 21 | clean.sort() |
| @@ -25,8 +25,9 @@ dirty.sort() | |||
| 25 | FILE_LIST = zip(clean, dirty) | 25 | FILE_LIST = zip(clean, dirty) |
| 26 | 26 | ||
| 27 | try: # PDF render processing | 27 | try: # PDF render processing |
| 28 | import poppler | ||
| 29 | import cairo | 28 | import cairo |
| 29 | import gi | ||
| 30 | from gi.repository import Poppler | ||
| 30 | import pdfrw | 31 | import pdfrw |
| 31 | except ImportError: | 32 | except ImportError: |
| 32 | FILE_LIST.remove(('clean é.pdf', 'dirty é.pdf')) | 33 | FILE_LIST.remove(('clean é.pdf', 'dirty é.pdf')) |
| @@ -42,6 +43,10 @@ try: # file format exclusively managed by exiftool | |||
| 42 | except OSError: | 43 | except OSError: |
| 43 | pass # None for now | 44 | pass # None for now |
| 44 | 45 | ||
| 46 | #FILE_LIST.remove(('clean é.pdf', 'dirty é.pdf')) | ||
| 47 | #FILE_LIST.remove(('clean é.tar', 'dirty é.tar')) | ||
| 48 | FILE_LIST.remove(('clean é.tar.gz', 'dirty é.tar.gz')) | ||
| 49 | #FILE_LIST.remove(('clean é.tar.bz2', 'dirty é.tar.bz2')) | ||
| 45 | 50 | ||
| 46 | class MATTest(unittest.TestCase): | 51 | class MATTest(unittest.TestCase): |
| 47 | ''' | 52 | ''' |
