summaryrefslogtreecommitdiff
path: root/test/test.py
diff options
context:
space:
mode:
authorjvoisin2011-08-03 21:05:10 +0200
committerjvoisin2011-08-03 21:05:10 +0200
commita3b66f29742fba71b103dc58ec4624d52362452b (patch)
tree5fabf9f67c8884c003de7f19867c88f20e6f5239 /test/test.py
parent2b3f7d7721ef7040d7b4d5e591cf9b2d3d9740e0 (diff)
Correct a bug in the testsuite, and now, poppler + cairo are optional for running the testsuite.
Diffstat (limited to 'test/test.py')
-rw-r--r--test/test.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 227170b..681a956 100644
--- a/test/test.py
+++ b/test/test.py
@@ -13,7 +13,19 @@ import tempfile
13import unittest 13import unittest
14 14
15VERBOSITY = 3 15VERBOSITY = 3
16FILE_LIST = zip(glob.glob('clean*'), glob.glob('dirty*')) 16
17clean = glob.glob('clean*')
18clean.sort()
19dirty = glob.glob('dirty*')
20dirty.sort()
21FILE_LIST = zip(clean, dirty)
22
23try:
24 import poppler
25 import cairo
26except:
27 FILE_LIST.remove((('clean.pdf'), ('dirty.pdf')))
28
17 29
18class MATTest(unittest.TestCase): 30class MATTest(unittest.TestCase):
19 ''' 31 '''