We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7254f1a commit 253a920Copy full SHA for 253a920
src/libtmux/server.py
@@ -713,10 +713,12 @@ def windows(self) -> QueryList[Window]:
713
>>> # Verify window names
714
>>> wins1 = [w for w in server.windows if w.session.name == "test_windows1"]
715
>>> wins2 = [w for w in server.windows if w.session.name == "test_windows2"]
716
- >>> sorted(w.name for w in wins1)
717
- ['win1', ...]
718
- >>> sorted(w.name for w in wins2)
719
- ['win2', ...]
+ >>> # Default window name can vary (bash, zsh), but win1 should be there
+ >>> "win1" in [w.name for w in wins1]
+ True
+ >>> # Default window name can vary, but win2 should be there
720
+ >>> "win2" in [w.name for w in wins2]
721
722
>>> # Clean up
723
>>> server.kill_session("test_windows1")
724
Server(socket_name=libtmux_test...)
0 commit comments