From bcf9e89f414c634067818c46ea05a2d0f98e6f54 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Mon, 5 Jan 2009 17:54:03 +0000 Subject: [PATCH] Fixes for the test due to gnome-keyring string change svn path=/trunk/; revision=3329 --- test/test2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.43.5