]> www.fi.muni.cz Git - evince.git/blobdiff - test/test2.py
cs.po: Updated Czech translation by Adrian Gunis (bug #544424).
[evince.git] / test / test2.py
index e42fca0f3ac7dddc0a943eef8a688cef656163b1..ac6493adf7d3aae6205edab9bf35b5df2e1dceaa 100755 (executable)
@@ -3,11 +3,12 @@
 # This test opens a password encrypted file and tries to unlock it.
 
 import os
-os.environ['LANG']='en_US.UTF-8'
+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')