Skip to content

Commit

Permalink
test(test_pane_index): Improve reliability of pane_current_path test
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jan 7, 2023
1 parent 3892060 commit 8a80e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force

<!-- Maintainers, insert changes / features for the next release here -->

### Internal improvements

- tests(test_pane_order): Improve reliability of `pane_current_path` test.

## tmuxp 1.24.0 (2022-12-30)

_Maintenance only, no bug fixes or features_
Expand Down
1 change: 1 addition & 0 deletions tests/workspace/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ def test_pane_order(session):
pane_path = pane_paths[p_index - pane_base_index]

def f():
p.refresh()
return p.pane_current_path == pane_path

assert retry_until(f)
Expand Down

0 comments on commit 8a80e78

Please sign in to comment.