From: Nickolay V. Shmyrev Date: Mon, 5 Jan 2009 17:54:03 +0000 (+0000) Subject: Fixes for the test due to gnome-keyring string change X-Git-Tag: EVINCE_2_25_4^0 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=bcf9e89f414c634067818c46ea05a2d0f98e6f54;p=evince.git Fixes for the test due to gnome-keyring string change svn path=/trunk/; revision=3329 --- diff --git a/test/test2.py b/test/test2.py index ac6493ad..ca06b66b 100755 --- a/test/test2.py +++ b/test/test2.py @@ -14,14 +14,14 @@ run('evince', arguments=' '+srcdir+'/test-encrypt.pdf') focus.dialog('Enter password') focus.widget('Password Entry', roleName='password text') type('wrong password') -click('OK', roleName='push button') +click('Unlock Document', roleName='push button') click('Cancel', roleName='push button') # Try again with the correct password click('Unlock Document', roleName='push button') focus.widget('Password Entry', roleName='password text') type('Foo') -click('OK', roleName='push button') +click('Unlock Document', roleName='push button') # Close evince click('File', roleName='menu')