summaryrefslogtreecommitdiff
path: root/test/test5.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test5.py')
-rwxr-xr-xtest/test5.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test5.py b/test/test5.py
index c78ebc6f..87729995 100755
--- a/test/test5.py
+++ b/test/test5.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# This test tries document reload action.
@@ -15,10 +15,11 @@ focus.widget.text = "iii"
activate()
if focus.widget.text != "III":
- click('File', roleName='menu')
- click('Close', roleName='menu item')
- exit (1)
+ click('File', roleName='menu')
+ click('Close', roleName='menu item')
+ exit (1)
# Close atril
+focus.application('atril')
click('File', roleName='menu')
click('Close', roleName='menu item')