File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -19,22 +19,19 @@ def test_select_window(session):
1919 # for now hoever, let's get the index from the first window.
2020 assert window_count == 1
2121
22- window_base_index = int (
23- session .attached_window .get ('window_index' ))
22+ window_base_index = int (session .attached_window .index )
2423
2524 window = session .new_window (window_name = 'testing 3' )
2625
2726 # self.assertEqual(2,
28- # int(session.attached_window.get('window_index') ))
29- assert int (window_base_index ) + 1 == int (window .get ( 'window_index' ) )
27+ # int(session.attached_window.index ))
28+ assert int (window_base_index ) + 1 == int (window .index )
3029
3130 session .select_window (window_base_index )
32- assert window_base_index == \
33- int (session .attached_window .get ('window_index' ))
31+ assert window_base_index == int (session .attached_window .index )
3432
3533 session .select_window ('testing 3' )
36- assert int (window_base_index ) + 1 == \
37- int (session .attached_window .get ('window_index' ))
34+ assert int (window_base_index ) + 1 == int (session .attached_window .index )
3835
3936 assert len (session ._windows ) == 2
4037
You can’t perform that action at this time.
0 commit comments