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=1529f6244e9bf9023e704a0dfc12c8d9a95fe282;hp=e42fca0f3ac7dddc0a943eef8a688cef656163b1;hpb=21dd925e74a1c0af20917915f674b1872556b08b;p=evince.git diff --git a/test/test2.py b/test/test2.py index e42fca0f..ac6493ad 100755 --- a/test/test2.py +++ b/test/test2.py @@ -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')