Skip to content

Commit 8a709a3

Browse files
committed
Try to fix tests
1 parent 79c2af1 commit 8a709a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_filebrowser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_filebrowser_opendir(self):
1717
okbuttontext=None, cancelbuttontext="Cancel",
1818
foldercreation=False)
1919
self.window.update()
20-
fb.focus_force()
20+
fb.right_tree.focus_force()
2121
self.window.update()
2222
fb.event_generate('<Control-a>')
2323
self.window.update()
@@ -49,7 +49,7 @@ def test_filebrowser_openfile(self):
4949
okbuttontext=None, cancelbuttontext="Cancel",
5050
foldercreation=False)
5151
self.window.update()
52-
fb.focus_force()
52+
fb.right_tree.focus_force()
5353
self.window.update()
5454
fb.event_generate('<Control-a>')
5555
self.window.update()

0 commit comments

Comments
 (0)