X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=test%2Ftest2.py;h=ac6493adf7d3aae6205edab9bf35b5df2e1dceaa;hb=14def5e0c1c11cee1523e10c72df74f4cf5e451d;hp=c0958c857ec0870396647e559b320531b2f6ce37;hpb=eb0b518aaf980993486c6e132b2df367d3ed76ca;p=evince.git diff --git a/test/test2.py b/test/test2.py index c0958c85..ac6493ad 100755 --- a/test/test2.py +++ b/test/test2.py @@ -2,9 +2,13 @@ # This test opens a password encrypted file and tries to unlock it. +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')