Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/test/test2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test2.py')
-rwxr-xr-xtest/test2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test2.py b/test/test2.py
index d85ba8b..ac6493a 100755
--- a/test/test2.py
+++ b/test/test2.py
@@ -4,10 +4,11 @@
import os
os.environ['LANG']='C'
+srcdir = os.environ['srcdir']
from dogtail.procedural import *
-run('evince', arguments=' ./test-encrypt.pdf',)
+run('evince', arguments=' '+srcdir+'/test-encrypt.pdf')
# Try an incorrect password first
focus.dialog('Enter password')