Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/fixtures/workspacebuilder/pane_ordering.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ windows:
panes:
- cd /usr/bin
- cd /usr
- cd /usr/sbin
- cd /etc
- cd {HOME}
8 changes: 3 additions & 5 deletions tests/test_workspacebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def test_pane_order(session):
pane_paths = [
"/usr/bin",
"/usr",
"/usr/sbin",
"/etc",
os.path.realpath(os.path.expanduser("~")),
]

Expand All @@ -539,10 +539,10 @@ def test_pane_order(session):

window_count = len(session._windows) # current window count
assert len(s._windows) == window_count

for w, wconf in builder.iter_create_windows(s):
for p in builder.iter_create_panes(w, wconf):
w.select_layout("tiled") # fix glitch with pane size
p = p
assert len(s._windows) == window_count

assert isinstance(w, Window)
Expand All @@ -563,9 +563,7 @@ def f():
p.server._update_panes()
return p.current_path == pane_path

retry_until(f)

assert p.current_path, pane_path
assert retry_until(f)


def test_window_index(session):
Expand Down