File tree 2 files changed +4
-6
lines changed
fixtures/workspacebuilder
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 7
7
panes :
8
8
- cd /usr/bin
9
9
- cd /usr
10
- - cd /usr/sbin
10
+ - cd /etc
11
11
- cd {HOME}
Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ def test_pane_order(session):
525
525
pane_paths = [
526
526
"/usr/bin" ,
527
527
"/usr" ,
528
- "/usr/sbin " ,
528
+ "/etc " ,
529
529
os .path .realpath (os .path .expanduser ("~" )),
530
530
]
531
531
@@ -539,10 +539,10 @@ def test_pane_order(session):
539
539
540
540
window_count = len (session ._windows ) # current window count
541
541
assert len (s ._windows ) == window_count
542
+
542
543
for w , wconf in builder .iter_create_windows (s ):
543
544
for p in builder .iter_create_panes (w , wconf ):
544
545
w .select_layout ("tiled" ) # fix glitch with pane size
545
- p = p
546
546
assert len (s ._windows ) == window_count
547
547
548
548
assert isinstance (w , Window )
@@ -563,9 +563,7 @@ def f():
563
563
p .server ._update_panes ()
564
564
return p .current_path == pane_path
565
565
566
- retry_until (f )
567
-
568
- assert p .current_path , pane_path
566
+ assert retry_until (f )
569
567
570
568
571
569
def test_window_index (session ):
You can’t perform that action at this time.
0 commit comments