diff options
author | Wu Xiaotian <[email protected]> | 2019-06-23 22:20:50 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-01 16:22:46 +0200 |
commit | cb4293fe6cb01c7ffcb890a22e91ed0702d2656f (patch) | |
tree | 9b1482e969046b3d82b6d074a334d530ae32e6e6 /test/test5.py | |
parent | 449f6af7514251c7dda6fdf4ad2d1c6e37d42835 (diff) | |
download | atril-cb4293fe6cb01c7ffcb890a22e91ed0702d2656f.tar.bz2 atril-cb4293fe6cb01c7ffcb890a22e91ed0702d2656f.tar.xz |
migrate to python3 for test cases
Diffstat (limited to 'test/test5.py')
-rwxr-xr-x | test/test5.py | 9 |
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') |