==> Building on mamoswine ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-libtmux ./ .SRCINFO 934 100% 0.00kB/s 0:00:00 934 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 50 100% 48.83kB/s 0:00:00 50 100% 48.83kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 1,686 100% 1.61MB/s 0:00:00 1,686 100% 1.61MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-libtmux-0.53.0-1.log 738 100% 720.70kB/s 0:00:00 738 100% 720.70kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 2,897 bytes received 190 bytes 2,058.00 bytes/sec total size is 3,897 speedup is 1.26 ==> Running pkgctl build --arch riscv64 --repo extra on remote host... ==> WARNING: unsupported architecture: riscv64 ==> Building python-libtmux  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building python-libtmux for [extra] (riscv64) ]3008;start=d05e77435ed64c8f931298aa19a5634e;user=root;hostname=mamoswine.felixc.at;machineid=308e4189ffa7440480c13f5748093936;bootid=5db840a5977f4e339b8b113c0de487c5;pid=755152;pidfdid=755452;comm=systemd-nspawn;container=arch-nspawn-755152;type=container\]2;🔵 Container arch-nspawn-755152 on mamoswine.felixc.at\:: Synchronizing package databases... core downloading... extra downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change Download Size core/iana-etc 20251120-1 20251215-1 0.00 MiB 0.39 MiB Total Download Size: 0.39 MiB Total Installed Size: 4.00 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... iana-etc-20251215-1-any downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading iana-etc... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ]3008;end=d05e77435ed64c8f931298aa19a5634e\==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: python-libtmux 0.53.0-1 (Thu Jan 1 07:53:32 2026) ==> Retrieving sources...  -> Downloading libtmux-0.53.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 297k 0 297k 0 0 120k 0 --:--:-- 0:00:02 --:--:-- 305k 100 400k 0 400k 0 0 154k 0 --:--:-- 0:00:02 --:--:-- 363k ==> Validating source files with sha512sums... libtmux-0.53.0.tar.gz ... Passed ==> Validating source files with b2sums... libtmux-0.53.0.tar.gz ... Passed ]3008;start=ae2a49d41bfe4d83848ebceead19ced5;user=root;hostname=mamoswine.felixc.at;machineid=308e4189ffa7440480c13f5748093936;bootid=5db840a5977f4e339b8b113c0de487c5;pid=756337;pidfdid=756637;comm=systemd-nspawn;container=arch-nspawn-756337;type=container\]2;🔵 Container arch-nspawn-756337 on mamoswine.felixc.at\==> Making package: python-libtmux 0.53.0-1 (Thu Jan 1 07:53:55 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change Download Size extra/libutempter 1.2.3-1 0.02 MiB 0.01 MiB core/mpdecimal 4.0.1-1 0.31 MiB core/python 3.13.11-1 124.16 MiB extra/python-typing_extensions 4.15.0-1 0.49 MiB extra/tmux 3.6_a-1 1.09 MiB 0.50 MiB Total Download Size: 0.51 MiB Total Installed Size: 126.08 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... tmux-3.6_a-1-riscv64 downloading... libutempter-1.2.3-1-riscv64 downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-typing_extensions... installing libutempter... installing tmux... :: Running post-transaction hooks... (1/2) Creating temporary files... (2/2) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (16) New Version Net Change Download Size extra/python-editables 0.5-5 0.03 MiB extra/python-iniconfig 2.1.0-1 0.04 MiB extra/python-packaging 25.0-1 0.67 MiB extra/python-pathspec 0.12.1-3 0.23 MiB extra/python-pluggy 1.6.0-1 0.20 MiB extra/python-pygments 2.19.2-1 14.38 MiB extra/python-pyproject-hooks 1.2.0-3 0.10 MiB extra/python-trove-classifiers 2025.12.1.14-1 0.13 MiB 0.02 MiB core/procps-ng 4.0.5-3 2.38 MiB 0.88 MiB extra/python-build 1.3.0-1 0.20 MiB extra/python-hatchling 1.28.0-1 0.95 MiB 0.15 MiB extra/python-installer 0.7.0-10 0.17 MiB extra/python-pytest 1:8.4.2-1 4.18 MiB extra/python-pytest-mock 3.14.0-3 0.09 MiB 0.02 MiB extra/python-pytest-rerunfailures 16.1-1 0.12 MiB extra/python-wheel 0.45.1-1 0.28 MiB Total Download Size: 1.07 MiB Total Installed Size: 24.14 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... procps-ng-4.0.5-3-riscv64 downloading... python-hatchling-1.28.0-1-any downloading... python-pytest-mock-3.14.0-3-any downloading... python-trove-classifiers-2025.12.1.14-1-any downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-editables... installing python-pathspec... installing python-pluggy... installing python-trove-classifiers... installing python-hatchling... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand installing python-iniconfig... installing python-pygments... installing python-pytest... installing python-pytest-mock... installing python-pytest-rerunfailures... Optional dependencies for python-pytest-rerunfailures python-pytest-xdist: for recovering from crashes installing procps-ng... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found libtmux-0.53.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting libtmux-0.53.0.tar.gz with bsdtar ==> Starting build()... * Building wheel... Successfully built libtmux-0.53.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-libtmux/src/libtmux-0.53.0 configfile: pyproject.toml plugins: libtmux-0.53.0, mock-3.14.0, rerunfailures-16.1 collecting ... collected 610 items / 1 deselected / 609 selected tests/_internal/test_query_list.py::test_filter[items0-None-expected_result0] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items1-filter_expr1-expected_result1] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items2-filter_expr2-expected_result2] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items3-filter_expr3-expected_result3] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items4-None-expected_result4] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items5-None-expected_result5] PASSED [ 0%] tests/_internal/test_query_list.py::test_filter[items6-None-expected_result6] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items7-None-expected_result7] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items8-filter_expr8-expected_result8] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items9-filter_expr9-expected_result9] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items10-filter_expr10-expected_result10] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items11-filter_expr11-expected_result11] PASSED [ 1%] tests/_internal/test_query_list.py::test_filter[items12-filter_expr12-expected_result12] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items13-filter_expr13-expected_result13] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items14-filter_expr14-expected_result14] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items15-filter_expr15-expected_result15] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items16-filter_expr16-expected_result16] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items17-filter_expr17-expected_result17] PASSED [ 2%] tests/_internal/test_query_list.py::test_filter[items18-filter_expr18-expected_result18] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items19-filter_expr19-expected_result19] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items20-filter_expr20-expected_result20] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items21-filter_expr21-expected_result21] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items22-filter_expr22-expected_result22] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items23-filter_expr23-expected_result23] PASSED [ 3%] tests/_internal/test_query_list.py::test_filter[items24-filter_expr24-expected_result24] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items25-filter_expr25-expected_result25] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items26-filter_expr26-expected_result26] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items27-filter_expr27-expected_result27] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items28-filter_expr28-expected_result28] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items29-filter_expr29-expected_result29] PASSED [ 4%] tests/_internal/test_query_list.py::test_filter[items30-filter_expr30-expected_result30] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items31-filter_expr31-expected_result31] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items32-filter_expr32-expected_result32] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items33-None-expected_result33] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items34-filter_expr34-expected_result34] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items35-filter_expr35-expected_result35] PASSED [ 5%] tests/_internal/test_query_list.py::test_filter[items36--expected_result36] PASSED [ 6%] tests/_internal/test_query_list.py::test_filter[items37--expected_result37] PASSED [ 6%] tests/legacy_api/test_common.py::test_allows_master_version PASSED [ 6%] tests/legacy_api/test_common.py::test_allows_next_version PASSED [ 6%] tests/legacy_api/test_common.py::test_get_version_openbsd PASSED [ 6%] tests/legacy_api/test_common.py::test_get_version_too_low PASSED [ 6%] tests/legacy_api/test_common.py::test_ignores_letter_versions PASSED [ 7%] tests/legacy_api/test_common.py::test_error_version_less_1_7 PASSED [ 7%] tests/legacy_api/test_common.py::test_has_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_gt_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_gte_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_lt_version PASSED [ 7%] tests/legacy_api/test_common.py::test_has_lte_version PASSED [ 8%] tests/legacy_api/test_common.py::test_tmux_cmd_raises_on_not_found PASSED [ 8%] tests/legacy_api/test_common.py::test_tmux_cmd_unicode ERROR [ 8%] tests/legacy_api/test_common.py::test_session_check_name[-True-empty] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[None-True-empty] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[my great session.-True-contains periods] PASSED [ 8%] tests/legacy_api/test_common.py::test_session_check_name[name: great session-True-contains colons] PASSED [ 9%] tests/legacy_api/test_common.py::test_session_check_name[new great session-False-None] PASSED [ 9%] tests/legacy_api/test_common.py::test_session_check_name[ajf8a3fa83fads,,,a-False-None] PASSED [ 9%] tests/legacy_api/test_common.py::test_get_libtmux_version PASSED [ 9%] tests/legacy_api/test_pane.py::test_resize_pane_raises_deprecated_error ERROR [ 9%] tests/legacy_api/test_pane.py::test_select_pane_raises_deprecated_error ERROR [ 9%] tests/legacy_api/test_pane.py::test_split_window_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_pane.py::test_pane_get_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_pane.py::test_pane_getitem_raises_deprecated_error ERROR [ 10%] tests/legacy_api/test_server.py::test_kill_server_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_get_by_id_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_where_raises_deprecated_error PASSED [ 10%] tests/legacy_api/test_server.py::test_server_find_where_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server_list_sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server_children_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__list_sessions_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__list_windows_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__update_windows_raises_deprecated_error PASSED [ 11%] tests/legacy_api/test_server.py::test_server__list_panes_raises_deprecated_error PASSED [ 12%] tests/legacy_api/test_server.py::test_server__update_panes_raises_deprecated_error PASSED [ 12%] tests/legacy_api/test_session.py::test_attached_window_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_attached_pane_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_attach_session_raises_deprecated_error ERROR [ 12%] tests/legacy_api/test_session.py::test_kill_session_raises_deprecated_error FAILED [ 12%] tests/legacy_api/test_session.py::test_session_get_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_getitem_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_get_by_id_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_where_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_find_where_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_list_windows_raises_deprecated_error ERROR [ 13%] tests/legacy_api/test_session.py::test_session_children_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_session.py::test_session__windows_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_session.py::test_session__list_windows_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_server_find_where_raises_deprecated_error PASSED [ 14%] tests/legacy_api/test_tmuxobject.py::test_session_find_where_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_window_find_where_raises_deprecated_error ERROR [ 14%] tests/legacy_api/test_tmuxobject.py::test_server_where_raises_deprecated_error PASSED [ 15%] tests/legacy_api/test_tmuxobject.py::test_session_where_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_window_where_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_server_get_by_id_raises_deprecated_error PASSED [ 15%] tests/legacy_api/test_tmuxobject.py::test_session_get_by_id_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_tmuxobject.py::test_window_get_by_id_raises_deprecated_error ERROR [ 15%] tests/legacy_api/test_version.py::test_version[1] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b1] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0b-openbsd] PASSED [ 16%] tests/legacy_api/test_version.py::test_version[1.0.0-next] PASSED [ 17%] tests/legacy_api/test_version.py::test_version[1.0.0-next.1] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1.0-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-eq-1.0.0-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-gt-1.0.0a-False] PASSED [ 17%] tests/legacy_api/test_version.py::test_version_compare[1-gt-1.0.0b-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1.0.0p1-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1.0.0-openbsd-False] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1-lt-1-AssertionError] PASSED [ 18%] tests/legacy_api/test_version.py::test_version_compare[1.0.0c-gt-1.0.0b-False] PASSED [ 18%] tests/legacy_api/test_window.py::test_split_window_raises_deprecated_error ERROR [ 18%] tests/legacy_api/test_window.py::test_attached_pane_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_select_window_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_kill_window_raises_deprecated_error ERROR [ 19%] tests/legacy_api/test_window.py::test_set_window_option_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_show_window_options_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_show_window_option_emits_deprecation_warning ERROR [ 19%] tests/legacy_api/test_window.py::test_window_get_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_getitem_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_get_by_id_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_where_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_find_where_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_list_panes_raises_deprecated_error ERROR [ 20%] tests/legacy_api/test_window.py::test_window_children_raises_deprecated_error ERROR [ 21%] tests/legacy_api/test_window.py::test_window__panes_raises_deprecated_error ERROR [ 21%] tests/legacy_api/test_window.py::test_window__list_panes_raises_deprecated_error ERROR [ 21%] tests/test/test_constants.py::test_test_session_prefix PASSED [ 21%] tests/test/test_constants.py::test_retry_timeout_seconds_default PASSED [ 21%] tests/test/test_constants.py::test_retry_timeout_seconds_env PASSED [ 21%] tests/test/test_constants.py::test_retry_interval_seconds_default PASSED [ 22%] tests/test/test_constants.py::test_retry_interval_seconds_env PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_set PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_unset PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_context_manager PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_cleanup_on_exception PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_unset_and_reset PASSED [ 22%] tests/test/test_environment.py::test_environment_var_guard_exit_with_exception PASSED [ 23%] tests/test/test_environment.py::test_environment_var_guard_unset_previously_set PASSED [ 23%] tests/test/test_random.py::test_logger PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_default PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_custom_chars PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_uniqueness PASSED [ 23%] tests/test/test_random.py::test_random_str_sequence_iterator PASSED [ 24%] tests/test/test_random.py::test_random_str_sequence_doctest_examples PASSED [ 24%] tests/test/test_random.py::test_namer_global_instance PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_doctest_examples PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_default_prefix PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_custom_prefix PASSED [ 24%] tests/test/test_random.py::test_get_test_session_name_loop_behavior FAILED [ 25%] tests/test/test_random.py::test_get_test_window_name_doctest_examples ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_default_prefix ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_custom_prefix ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_loop_behavior ERROR [ 25%] tests/test/test_random.py::test_get_test_window_name_requires_prefix PASSED [ 25%] tests/test/test_random.py::test_random_str_sequence_self_type PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_small_character_set PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_insufficient_characters PASSED [ 26%] tests/test/test_random.py::test_logger_configured PASSED [ 26%] tests/test/test_random.py::test_next_method_directly PASSED [ 26%] tests/test/test_random.py::test_namer_initialization PASSED [ 26%] tests/test/test_random.py::test_random_str_sequence_iter_next_methods PASSED [ 27%] tests/test/test_random.py::test_collisions_with_real_objects ERROR [ 27%] tests/test/test_random.py::test_imports_coverage PASSED [ 27%] tests/test/test_random.py::test_iterator_protocol PASSED [ 27%] tests/test/test_random.py::test_get_test_session_name_collision_handling PASSED [ 27%] tests/test/test_random.py::test_get_test_window_name_null_prefix PASSED [ 27%] tests/test/test_random.py::test_import_typing_coverage PASSED [ 28%] tests/test/test_random.py::test_random_str_sequence_direct_instantiation PASSED [ 28%] tests/test/test_random.py::test_get_test_window_name_collision_handling ERROR [ 28%] tests/test/test_random.py::test_random_str_sequence_return_statements PASSED [ 28%] tests/test/test_random.py::test_get_test_session_name_implementation_details FAILED [ 28%] tests/test/test_random.py::test_get_test_window_name_branch_coverage ERROR [ 28%] tests/test/test_retry.py::test_retry_three_times PASSED [ 29%] tests/test/test_retry.py::test_function_times_out PASSED [ 29%] tests/test/test_retry.py::test_function_times_out_no_raise PASSED [ 29%] tests/test/test_retry.py::test_function_times_out_no_raise_assert PASSED [ 29%] tests/test/test_retry.py::test_retry_three_times_no_raise_assert PASSED [ 29%] tests/test/test_sparse_array.py::test_is_sparse_array_list[empty_dict] PASSED [ 29%] tests/test/test_sparse_array.py::test_is_sparse_array_list[sparse_arrays_only] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[mixed_values] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[strings_only] PASSED [ 30%] tests/test/test_sparse_array.py::test_is_sparse_array_list[none_value] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[append_to_empty] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[append_after_add] PASSED [ 30%] tests/test/test_sparse_array.py::test_sparse_array_append[multiple_appends] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[sorted_order] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[empty] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_iter_values[consecutive] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[sorted_order] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[empty] PASSED [ 31%] tests/test/test_sparse_array.py::test_sparse_array_as_list[consecutive] PASSED [ 32%] tests/test/test_temporary.py::test_temp_session_creates_and_destroys FAILED [ 32%] tests/test/test_temporary.py::test_temp_session_with_name FAILED [ 32%] tests/test/test_temporary.py::test_temp_session_cleanup_on_exception FAILED [ 32%] tests/test/test_temporary.py::test_temp_window_creates_and_destroys ERROR [ 32%] tests/test/test_temporary.py::test_temp_window_with_name ERROR [ 32%] tests/test/test_temporary.py::test_temp_window_cleanup_on_exception ERROR [ 33%] tests/test/test_temporary.py::test_temp_session_outside_context FAILED [ 33%] tests/test/test_temporary.py::test_temp_window_outside_context ERROR [ 33%] tests/test_common.py::test_has_version PASSED [ 33%] tests/test_common.py::test_tmux_cmd_raises_on_not_found PASSED [ 33%] tests/test_common.py::test_tmux_cmd_unicode ERROR [ 33%] tests/test_common.py::test_session_check_name[empty_string] PASSED [ 33%] tests/test_common.py::test_session_check_name[none_value] PASSED [ 34%] tests/test_common.py::test_session_check_name[contains_period] PASSED [ 34%] tests/test_common.py::test_session_check_name[contains_colon] PASSED [ 34%] tests/test_common.py::test_session_check_name[valid_name] PASSED [ 34%] tests/test_common.py::test_session_check_name[valid_with_special_chars] PASSED [ 34%] tests/test_common.py::test_get_libtmux_version PASSED [ 34%] tests/test_common.py::test_version_comparison[gt_older_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_older_version_with_letter] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_newer_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gt_newer_version_with_letter] PASSED [ 35%] tests/test_common.py::test_version_comparison[gte_older_version] PASSED [ 35%] tests/test_common.py::test_version_comparison[gte_older_version_with_letter] PASSED [ 35%] tests/test_common.py::test_version_comparison[gte_current_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[gte_newer_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[gte_newer_version_with_letter] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_newer_version_with_letter] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_newer_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_older_version] PASSED [ 36%] tests/test_common.py::test_version_comparison[lt_current_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_newer_version_with_letter] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_newer_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_current_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_older_version] PASSED [ 37%] tests/test_common.py::test_version_comparison[lte_older_version_with_letter] PASSED [ 37%] tests/test_common.py::test_version_parsing[master_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[next_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[openbsd_version] PASSED [ 38%] tests/test_common.py::test_version_parsing[too_low_version] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_letter_in_min_version_1_9a] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_letter_in_min_version_1_8a] PASSED [ 38%] tests/test_common.py::test_version_validation[accepts_version_1_8] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_version_1_8a] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_version_1_9a] PASSED [ 39%] tests/test_common.py::test_version_validation[rejects_version_1_7] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_master_version] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_next_version] PASSED [ 39%] tests/test_common.py::test_version_validation[accepts_openbsd_version] PASSED [ 40%] tests/test_common.py::test_version_validation[accepts_dev_version] PASSED [ 40%] tests/test_common.py::test_version_validation[accepts_rc_version] PASSED [ 40%] tests/test_dataclasses.py::test_pane FAILED [ 40%] tests/test_dataclasses.py::test_querylist ERROR [ 40%] tests/test_hooks.py::test_hooks_raw_cmd FAILED [ 40%] tests/test_hooks.py::test_hooks_dataclass FAILED [ 41%] tests/test_hooks.py::test_hooks_mixin FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_activity] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_bell] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_silence] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_active] FAILED [ 41%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_attached] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_detached] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_in] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_out] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_resized] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[client_session_changed] FAILED [ 42%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_created] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_closed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_renamed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_linked] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_renamed] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_resized] FAILED [ 43%] tests/test_hooks.py::test_hook_set_show_unset_cycle[window_unlinked] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[session_window_changed] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_died] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_exited] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_in] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_out] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_mode_changed] FAILED [ 44%] tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_set_clipboard] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_bind_key] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_capture_pane] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_copy_mode] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_message] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_panes] FAILED [ 45%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_kill_pane] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_buffers] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_clients] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_keys] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_panes] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_sessions] FAILED [ 46%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_windows] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_load_buffer] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_lock_server] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_session] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_window] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_paste_buffer] FAILED [ 47%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_pipe_pane] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_queue] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_refresh_client] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_session] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_window] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_pane] FAILED [ 48%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_window] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_save_buffer] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_layout] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_pane] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_window] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_send_keys] FAILED [ 49%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_buffer] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_environment] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_hook] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_option] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_environment] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_messages] FAILED [ 50%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_options] FAILED [ 51%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_split_window] FAILED [ 51%] tests/test_hooks.py::test_hook_set_show_unset_cycle[after_unbind_key] FAILED [ 51%] tests/test_hooks.py::test_new_hooks_version_gated[pane_title_changed] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_with_dict] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_with_list] FAILED [ 51%] tests/test_hooks.py::test_set_hooks[set_hooks_clear_existing] FAILED [ 52%] tests/test_hooks.py::test_show_hook_returns_sparse_array FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] FAILED [ 52%] tests/test_hooks.py::test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] FAILED [ 52%] tests/test_hooks.py::test_set_hooks_with_sparse_array FAILED [ 52%] tests/test_hooks.py::test_set_hooks_method_chaining FAILED [ 53%] tests/test_hooks.py::test_unset_hook_clears_all_indices FAILED [ 53%] tests/test_hooks.py::test_set_hook_append_flag FAILED [ 53%] tests/test_hooks.py::test_show_hooks_stores_string_values[string_hook_value] FAILED [ 53%] tests/test_hooks.py::test_show_hooks_stores_string_values[multiple_hooks] FAILED [ 53%] tests/test_hooks.py::test_run_hook_basic FAILED [ 53%] tests/test_hooks.py::test_set_hook_flag_combinations[append_to_existing] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[global_hook] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[run_immediately] FAILED [ 54%] tests/test_hooks.py::test_set_hook_flag_combinations[append_and_global] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[session_scope] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[window_scope] FAILED [ 54%] tests/test_hooks.py::test_hook_scope_handling[pane_scope] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[normal_hook_value] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_different_hooks] FAILED [ 55%] tests/test_hooks.py::test_show_hooks_empty_result FAILED [ 55%] tests/test_options.py::test_options FAILED [ 55%] tests/test_options.py::test_options_server FAILED [ 55%] tests/test_options.py::test_options_session FAILED [ 56%] tests/test_options.py::test_options_window FAILED [ 56%] tests/test_options.py::test_options_pane FAILED [ 56%] tests/test_options.py::test_options_grid FAILED [ 56%] tests/test_options.py::test_custom_options FAILED [ 56%] tests/test_options.py::test_terminal_features PASSED [ 56%] tests/test_options.py::test_terminal_overrides PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[two_flags-xterm*:smcup@:rmcup@-xterm*-expected_features0] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[flag_and_keyval-xterm*:XT:Ms=clipboard-xterm*-expected_features1] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[multiple_keyvals-screen*:Tc:RGB:setab=test-screen*-expected_features2] PASSED [ 57%] tests/test_options.py::test_terminal_overrides_multi_feature[integer_value-tmux*:colors=256:Tc-tmux*-expected_features3] PASSED [ 57%] tests/test_options.py::test_command_alias PASSED [ 57%] tests/test_options.py::test_user_keys PASSED [ 58%] tests/test_options.py::test_mocked_cmd_stdoutclass_fixture[terminal-features] PASSED [ 58%] tests/test_options.py::test_mocked_cmd_stdoutclass_fixture[command-alias] PASSED [ 58%] tests/test_options.py::test_show_option_pane_fixture[terminal-features] FAILED [ 58%] tests/test_options.py::test_show_option_pane_fixture[command-alias] FAILED [ 58%] tests/test_options.py::test_stable_baseline_options_and_hooks FAILED [ 58%] tests/test_options.py::test_high_level_api_expectations PASSED [ 59%] tests/test_options.py::test_complex_option_values FAILED [ 59%] tests/test_options.py::test_style_option_validation FAILED [ 59%] tests/test_options.py::test_option_error_handling FAILED [ 59%] tests/test_options.py::test_terminal_features_edge_cases PASSED [ 59%] tests/test_options.py::test_option_set_show_cycle[server_buffer_limit] FAILED [ 59%] tests/test_options.py::test_option_set_show_cycle[server_escape_time] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_message_limit] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_prompt_history_limit] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_exit_empty] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_exit_unattached] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_focus_events] FAILED [ 60%] tests/test_options.py::test_option_set_show_cycle[server_extended_keys] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_set_clipboard] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_default_terminal] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[server_editor] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[session_base_index] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[session_display_panes_time] FAILED [ 61%] tests/test_options.py::test_option_set_show_cycle[session_display_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_history_limit] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_lock_after_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_repeat_time] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_interval] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_left_length] FAILED [ 62%] tests/test_options.py::test_option_set_show_cycle[session_status_right_length] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_destroy_unattached] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_mouse] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_renumber_windows] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_set_titles] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_activity_action] FAILED [ 63%] tests/test_options.py::test_option_set_show_cycle[session_bell_action] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_detach_on_destroy] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_silence_action] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_keys] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_justify] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_status_position] FAILED [ 64%] tests/test_options.py::test_option_set_show_cycle[session_visual_activity] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_visual_bell] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_visual_silence] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_default_command] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_left] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_right] FAILED [ 65%] tests/test_options.py::test_option_set_show_cycle[session_status_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_status_left_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_status_right_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[session_message_style] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_pane_base_index] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_monitor_silence] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_aggressive_resize] FAILED [ 66%] tests/test_options.py::test_option_set_show_cycle[window_automatic_rename] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_monitor_activity] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_monitor_bell] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_wrap_search] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_clock_mode_style] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_mode_keys] FAILED [ 67%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_status] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_window_size] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_format] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_mode_style] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_border_style] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_pane_active_border_style] FAILED [ 68%] tests/test_options.py::test_option_set_show_cycle[window_window_status_style] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[window_window_status_current_style] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_allow_rename] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_alternate_screen] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_scroll_on_clear] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_synchronize_panes] FAILED [ 69%] tests/test_options.py::test_option_set_show_cycle[pane_allow_passthrough] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_remain_on_exit] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_window_style] FAILED [ 70%] tests/test_options.py::test_option_set_show_cycle[pane_window_active_style] FAILED [ 70%] tests/test_options.py::test_show_options_returns_expected_keys[server_global] FAILED [ 70%] tests/test_options.py::test_show_options_returns_expected_keys[server_global_inherited] FAILED [ 70%] tests/test_options.py::test_show_options_returns_expected_keys[session_global] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[session_global_inherited] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[window_global] FAILED [ 71%] tests/test_options.py::test_show_options_returns_expected_keys[window_global_inherited] FAILED [ 71%] tests/test_options.py::test_convert_values_sparse_array[boolean_on_off] PASSED [ 71%] tests/test_options.py::test_convert_values_sparse_array[numeric_conversion] PASSED [ 71%] tests/test_options.py::test_convert_values_sparse_array[mixed_values] PASSED [ 72%] tests/test_options.py::test_convert_values_sparse_array[sparse_indices] PASSED [ 72%] tests/test_options.py::test_convert_values_preserves_sparse_keys PASSED [ 72%] tests/test_options.py::test_show_option_g_parameter_emits_deprecation_warning ERROR [ 72%] tests/test_options.py::test_show_option_indexed_array[indexed_returns_value] ERROR [ 72%] tests/test_options.py::test_show_option_indexed_array[base_name_returns_sparse_array] ERROR [ 72%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[inherited_array_marker_preserved] PASSED [ 73%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[non_inherited_array_no_marker] PASSED [ 73%] tests/test_options.py::test_explode_arrays_preserves_inherited_marker[mixed_inherited_indices] PASSED [ 73%] tests/test_pane.py::test_send_keys ERROR [ 73%] tests/test_pane.py::test_set_height ERROR [ 73%] tests/test_pane.py::test_set_width ERROR [ 73%] tests/test_pane.py::test_capture_pane ERROR [ 74%] tests/test_pane.py::test_capture_pane_end ERROR [ 74%] tests/test_pane.py::test_pane_split_window_zoom ERROR [ 74%] tests/test_pane.py::test_resize ERROR [ 74%] tests/test_pane.py::test_split_pane_size ERROR [ 74%] tests/test_pane.py::test_pane_context_manager ERROR [ 74%] tests/test_pane.py::test_split_start_directory[none_value] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[empty_string] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[user_path] ERROR [ 75%] tests/test_pane.py::test_split_start_directory[relative_path] ERROR [ 75%] tests/test_pane.py::test_split_start_directory_pathlib ERROR [ 75%] tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_capture] ERROR [ 75%] tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_multiline] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_red] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_green] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_bold] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[no_escape_sequences] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_basic] ERROR [ 76%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_tab] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_long_line] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_numbers] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[preserve_trailing_spaces] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[no_preserve_trailing] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[trim_trailing_basic] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_with_join] ERROR [ 77%] tests/test_pane_capture_pane.py::test_capture_pane_flags[join_with_preserve_trailing] ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_flags[all_flags_except_trim] ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_backward_compatible ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_start_end_with_flags ERROR [ 78%] tests/test_pane_capture_pane.py::test_capture_pane_trim_trailing_warning ERROR [ 78%] tests/test_pytest_plugin.py::test_plugin FAILED [ 78%] tests/test_pytest_plugin.py::test_test_server FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_with_config FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_cleanup FAILED [ 79%] tests/test_pytest_plugin.py::test_test_server_multiple FAILED [ 79%] tests/test_server.py::test_has_session ERROR [ 79%] tests/test_server.py::test_socket_name PASSED [ 79%] tests/test_server.py::test_socket_path PASSED [ 80%] tests/test_server.py::test_config PASSED [ 80%] tests/test_server.py::test_256_colors PASSED [ 80%] tests/test_server.py::test_88_colors PASSED [ 80%] tests/test_server.py::test_show_environment PASSED [ 80%] tests/test_server.py::test_getenv ERROR [ 80%] tests/test_server.py::test_show_environment_not_set PASSED [ 81%] tests/test_server.py::test_new_session FAILED [ 81%] tests/test_server.py::test_new_session_no_name FAILED [ 81%] tests/test_server.py::test_new_session_shell FAILED [ 81%] tests/test_server.py::test_new_session_shell_env FAILED [ 81%] tests/test_server.py::test_new_session_width_height SKIPPED (tmux 3.2 returns wrong width - test needs rework) [ 81%] tests/test_server.py::test_new_session_environmental_variables FAILED [ 82%] tests/test_server.py::test_no_server_sessions PASSED [ 82%] tests/test_server.py::test_no_server_attached_sessions PASSED [ 82%] tests/test_server.py::test_no_server_is_alive PASSED [ 82%] tests/test_server.py::test_with_server_is_alive FAILED [ 82%] tests/test_server.py::test_raise_if_dead_no_server_raises PASSED [ 82%] tests/test_server.py::test_raise_if_dead_does_not_raise_if_alive FAILED [ 83%] tests/test_server.py::test_on_init PASSED [ 83%] tests/test_server.py::test_socket_name_factory PASSED [ 83%] tests/test_server.py::test_socket_name_precedence PASSED [ 83%] tests/test_server.py::test_server_context_manager FAILED [ 83%] tests/test_server.py::test_new_session_start_directory[none_value] FAILED [ 83%] tests/test_server.py::test_new_session_start_directory[empty_string] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory[user_path] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory[relative_path] FAILED [ 84%] tests/test_server.py::test_new_session_start_directory_pathlib FAILED [ 84%] tests/test_session.py::test_has_session ERROR [ 84%] tests/test_session.py::test_select_window ERROR [ 84%] tests/test_session.py::test_select_window_returns_Window ERROR [ 85%] tests/test_session.py::test_active_window ERROR [ 85%] tests/test_session.py::test_active_pane ERROR [ 85%] tests/test_session.py::test_session_rename ERROR [ 85%] tests/test_session.py::test_new_session FAILED [ 85%] tests/test_session.py::test_show_options ERROR [ 85%] tests/test_session.py::test_set_show_options_single ERROR [ 86%] tests/test_session.py::test_set_show_option ERROR [ 86%] tests/test_session.py::test_empty_session_option_returns_None ERROR [ 86%] tests/test_session.py::test_show_option_unknown ERROR [ 86%] tests/test_session.py::test_show_option_ambiguous ERROR [ 86%] tests/test_session.py::test_set_option_ambiguous ERROR [ 86%] tests/test_session.py::test_set_option_invalid ERROR [ 87%] tests/test_session.py::test_show_environment ERROR [ 87%] tests/test_session.py::test_set_show_environment_single ERROR [ 87%] tests/test_session.py::test_show_environment_not_set ERROR [ 87%] tests/test_session.py::test_remove_environment ERROR [ 87%] tests/test_session.py::test_unset_environment ERROR [ 87%] tests/test_session.py::test_periods_raise_bad_session_name[period_in_name] ERROR [ 88%] tests/test_session.py::test_periods_raise_bad_session_name[colon_in_name] ERROR [ 88%] tests/test_session.py::test_periods_raise_bad_session_name[valid_name] ERROR [ 88%] tests/test_session.py::test_cmd_inserts_session_id ERROR [ 88%] tests/test_session.py::test_new_window_with_environment[single_env_var] ERROR [ 88%] tests/test_session.py::test_new_window_with_environment[multiple_env_vars] ERROR [ 88%] tests/test_session.py::test_session_new_window_with_direction ERROR [ 88%] tests/test_session.py::test_session_context_manager FAILED [ 89%] tests/test_session.py::test_new_window_start_directory[none_value] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[empty_string] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[user_path] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory[relative_path] ERROR [ 89%] tests/test_session.py::test_new_window_start_directory_pathlib ERROR [ 89%] tests/test_session.py::test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] FAILED [ 90%] tests/test_tmuxobject.py::test_find_where ERROR [ 90%] tests/test_tmuxobject.py::test_find_where_None ERROR [ 90%] tests/test_tmuxobject.py::test_find_where_multiple_infos ERROR [ 90%] tests/test_tmuxobject.py::test_where ERROR [ 90%] tests/test_tmuxobject.py::test_filter FAILED [ 90%] tests/test_version.py::test_version[simple_version] PASSED [ 91%] tests/test_version.py::test_version[minor_version] PASSED [ 91%] tests/test_version.py::test_version[patch_version] PASSED [ 91%] tests/test_version.py::test_version[beta_version] PASSED [ 91%] tests/test_version.py::test_version[beta_with_number] PASSED [ 91%] tests/test_version.py::test_version[beta_with_os] PASSED [ 91%] tests/test_version.py::test_version[next_version] PASSED [ 92%] tests/test_version.py::test_version[next_with_number] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_simple] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_with_minor] PASSED [ 92%] tests/test_version.py::test_version_compare[equal_with_patch] PASSED [ 92%] tests/test_version.py::test_version_compare[greater_than_alpha] PASSED [ 92%] tests/test_version.py::test_version_compare[greater_than_beta] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_patch] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_openbsd] PASSED [ 93%] tests/test_version.py::test_version_compare[less_than_equal_raises] PASSED [ 93%] tests/test_version.py::test_version_compare[beta_to_rc_compare] PASSED [ 93%] tests/test_window.py::test_select_window ERROR [ 93%] tests/test_window.py::test_fresh_window_data ERROR [ 94%] tests/test_window.py::test_newest_pane_data ERROR [ 94%] tests/test_window.py::test_active_pane ERROR [ 94%] tests/test_window.py::test_split ERROR [ 94%] tests/test_window.py::test_split_shell ERROR [ 94%] tests/test_window.py::test_split_horizontal ERROR [ 94%] tests/test_window.py::test_split_size ERROR [ 95%] tests/test_window.py::test_window_rename[rename_with_spaces] ERROR [ 95%] tests/test_window.py::test_window_rename[rename_with_escapes] ERROR [ 95%] tests/test_window.py::test_kill_window ERROR [ 95%] tests/test_window.py::test_show_window_options ERROR [ 95%] tests/test_window.py::test_set_window_and_show_window_options ERROR [ 95%] tests/test_window.py::test_set_and_show_window_options ERROR [ 96%] tests/test_window.py::test_empty_window_option_returns_None ERROR [ 96%] tests/test_window.py::test_show_window_option ERROR [ 96%] tests/test_window.py::test_show_window_option_unknown ERROR [ 96%] tests/test_window.py::test_show_window_option_ambiguous ERROR [ 96%] tests/test_window.py::test_set_window_option_ambiguous ERROR [ 96%] tests/test_window.py::test_set_window_option_invalid ERROR [ 97%] tests/test_window.py::test_move_window ERROR [ 97%] tests/test_window.py::test_move_window_to_other_session ERROR [ 97%] tests/test_window.py::test_select_layout_accepts_no_arg ERROR [ 97%] tests/test_window.py::test_empty_window_name ERROR [ 97%] tests/test_window.py::test_split_with_environment[single_env_var] ERROR [ 97%] tests/test_window.py::test_split_with_environment[multiple_env_vars] ERROR [ 98%] tests/test_window.py::test_split_window_zoom ERROR [ 98%] tests/test_window.py::test_resize ERROR [ 98%] tests/test_window.py::test_new_window_with_direction ERROR [ 98%] tests/test_window.py::test_window_context_manager ERROR [ 98%] tests/test_window.py::test_split_start_directory[none_value] ERROR [ 98%] tests/test_window.py::test_split_start_directory[empty_string] ERROR [ 99%] tests/test_window.py::test_split_start_directory[user_path] ERROR [ 99%] tests/test_window.py::test_split_start_directory[relative_path] ERROR [ 99%] tests/test_window.py::test_split_start_directory_pathlib ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[set_window_option] ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_options] ERROR [ 99%] tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_option] ERROR [100%] ==================================== ERRORS ==================================== ___________________ ERROR at setup of test_tmux_cmd_unicode ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testcvlw14s8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcvlw14s8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcvlw14s8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_resize_pane_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testy1htrb68) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy1htrb68), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testy1htrb68'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_select_pane_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test3zmnv6h9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3zmnv6h9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3zmnv6h9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testtrp029io) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtrp029io), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtrp029io'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_pane_get_raises_deprecated_error ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testozn4cqyj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testozn4cqyj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testozn4cqyj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_pane_getitem_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testc4zrxfe2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testc4zrxfe2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testc4zrxfe2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_attached_window_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testv1tn84hi) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv1tn84hi), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv1tn84hi'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_attached_pane_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testtoa06kdm) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtoa06kdm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtoa06kdm'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_attach_session_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testbjapgz70) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbjapgz70), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbjapgz70'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_session_get_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testu2xa7kqo) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu2xa7kqo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu2xa7kqo'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_session_getitem_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testq0yukarj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq0yukarj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq0yukarj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_get_by_id_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test5f32supz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5f32supz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test5f32supz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_session_where_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testbnfg2ldh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbnfg2ldh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbnfg2ldh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_session_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testp3q4nyz7) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp3q4nyz7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp3q4nyz7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_session_list_windows_raises_deprecated_error ______ request = > session_params = {}, server = Server(socket_name=libtmux_testu5wzfxm2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu5wzfxm2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu5wzfxm2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_children_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_tests9743ye0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests9743ye0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests9743ye0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session__windows_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_test19paowh3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test19paowh3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test19paowh3'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_session__list_windows_raises_deprecated_error _____ request = > session_params = {}, server = Server(socket_name=libtmux_test2nxcf_7d) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2nxcf_7d), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2nxcf_7d'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_session_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test4tz65r7o) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4tz65r7o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4tz65r7o'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testjfm1ivsh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjfm1ivsh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjfm1ivsh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_session_where_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testqzwf5xim) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqzwf5xim), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqzwf5xim'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window_where_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_test2grwcad6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2grwcad6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2grwcad6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_session_get_by_id_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test0p4rytho) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0p4rytho), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0p4rytho'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_get_by_id_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testmln8xghk) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmln8xghk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmln8xghk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testbhd2zltq) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbhd2zltq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbhd2zltq'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_attached_pane_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_test38rmft_0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test38rmft_0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test38rmft_0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_select_window_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_test05sdn7ir) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test05sdn7ir), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test05sdn7ir'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_kill_window_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testexfdu24m) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testexfdu24m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testexfdu24m'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_set_window_option_emits_deprecation_warning ______ request = > session_params = {}, server = Server(socket_name=libtmux_testyfgao_8v) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyfgao_8v), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyfgao_8v'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_show_window_options_emits_deprecation_warning _____ request = > session_params = {}, server = Server(socket_name=libtmux_testyjnirqpd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyjnirqpd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyjnirqpd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_show_window_option_emits_deprecation_warning ______ request = > session_params = {}, server = Server(socket_name=libtmux_test3u5lm9cz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3u5lm9cz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3u5lm9cz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_window_get_raises_deprecated_error ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testpqtrascu) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpqtrascu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpqtrascu'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_window_getitem_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testpyhw1n8e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpyhw1n8e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpyhw1n8e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_get_by_id_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testrzkeucho) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrzkeucho), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrzkeucho'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window_where_raises_deprecated_error __________ request = > session_params = {}, server = Server(socket_name=libtmux_testmv0wc5p6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmv0wc5p6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmv0wc5p6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_find_where_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testcyx7am1r) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcyx7am1r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcyx7am1r'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_window_list_panes_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_testjmo7lce3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjmo7lce3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjmo7lce3'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_window_children_raises_deprecated_error ________ request = > session_params = {}, server = Server(socket_name=libtmux_testwmfrg17x) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwmfrg17x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwmfrg17x'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_window__panes_raises_deprecated_error _________ request = > session_params = {}, server = Server(socket_name=libtmux_testz8vet2op) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz8vet2op), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz8vet2op'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_window__list_panes_raises_deprecated_error _______ request = > session_params = {}, server = Server(socket_name=libtmux_test3to7c06i) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3to7c06i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3to7c06i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_get_test_window_name_doctest_examples _________ request = > session_params = {}, server = Server(socket_name=libtmux_testi4suykj5) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testi4suykj5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi4suykj5'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_default_prefix __________ request = > session_params = {}, server = Server(socket_name=libtmux_test6txzw_ej) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6txzw_ej), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6txzw_ej'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_custom_prefix ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testgxobys9k) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgxobys9k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgxobys9k'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_get_test_window_name_loop_behavior ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testgum7t24x) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgum7t24x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgum7t24x'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_collisions_with_real_objects ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testkyiqu_vm) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkyiqu_vm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkyiqu_vm'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_get_test_window_name_collision_handling ________ request = > session_params = {}, server = Server(socket_name=libtmux_test476g83zs) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test476g83zs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test476g83zs'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_get_test_window_name_branch_coverage __________ request = > session_params = {}, server = Server(socket_name=libtmux_testo0agt29r) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo0agt29r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo0agt29r'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_temp_window_creates_and_destroys ____________ request = > session_params = {}, server = Server(socket_name=libtmux_test6t8pra1c) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6t8pra1c), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6t8pra1c'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_temp_window_with_name _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testu7fzlp_6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu7fzlp_6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu7fzlp_6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_temp_window_cleanup_on_exception ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testj7wsbqm2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testj7wsbqm2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testj7wsbqm2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_temp_window_outside_context ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testzrn2vstw) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzrn2vstw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzrn2vstw'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_tmux_cmd_unicode ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testm4ud1g7e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm4ud1g7e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm4ud1g7e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_querylist _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testq34uiec_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq34uiec_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq34uiec_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___ ERROR at setup of test_show_option_g_parameter_emits_deprecation_warning ___ request = > session_params = {}, server = Server(socket_name=libtmux_testjum5h6nd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjum5h6nd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjum5h6nd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___ ERROR at setup of test_show_option_indexed_array[indexed_returns_value] ____ request = > session_params = {}, server = Server(socket_name=libtmux_testwy0bz8gn) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwy0bz8gn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwy0bz8gn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_show_option_indexed_array[base_name_returns_sparse_array] _ request = > session_params = {}, server = Server(socket_name=libtmux_testuasmzj3e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuasmzj3e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testuasmzj3e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_send_keys _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testsdj9i3nb) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsdj9i3nb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsdj9i3nb'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_set_height _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testxqzywgd_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxqzywgd_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxqzywgd_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ ERROR at setup of test_set_width _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbm01gfu9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbm01gfu9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbm01gfu9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_capture_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testp68tw4fj) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp68tw4fj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp68tw4fj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_capture_pane_end ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testspe8b6an) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testspe8b6an), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testspe8b6an'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_pane_split_window_zoom _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testy7gxmfut) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testy7gxmfut), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testy7gxmfut'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_resize _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testfj_c1aml) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfj_c1aml), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfj_c1aml'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_split_pane_size ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testeq_a9ftn) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testeq_a9ftn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testeq_a9ftn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_pane_context_manager __________________ request = > session_params = {}, server = Server(socket_name=libtmux_test091evsdh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test091evsdh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test091evsdh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[none_value] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testpfzac6q2) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpfzac6q2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpfzac6q2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_split_start_directory[empty_string] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testrojivt6l) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrojivt6l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrojivt6l'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[user_path] ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testfanv_ijd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfanv_ijd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfanv_ijd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_start_directory[relative_path] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testfw1_acv0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfw1_acv0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfw1_acv0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_split_start_directory_pathlib _____________ request = > session_params = {}, server = Server(socket_name=libtmux_testz35kgaih) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz35kgaih), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz35kgaih'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_flags[basic_capture] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test7okl92z_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7okl92z_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7okl92z_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_capture_pane_flags[basic_multiline] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testr5l3yjak) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testr5l3yjak), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr5l3yjak'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[escape_sequences_red] ________ request = > session_params = {}, server = Server(socket_name=libtmux_test18smzlp9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test18smzlp9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test18smzlp9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_capture_pane_flags[escape_sequences_green] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testxe71c5qu) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxe71c5qu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxe71c5qu'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[escape_sequences_bold] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testmzwgxplf) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmzwgxplf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmzwgxplf'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_capture_pane_flags[no_escape_sequences] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testpdz0l8y3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpdz0l8y3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpdz0l8y3'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[escape_non_printable_basic] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testfwql5ao4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfwql5ao4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfwql5ao4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_capture_pane_flags[escape_non_printable_tab] ______ request = > session_params = {}, server = Server(socket_name=libtmux_test1kmx7vih) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1kmx7vih), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test1kmx7vih'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_capture_pane_flags[join_wrapped_long_line] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testoa3c875e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testoa3c875e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoa3c875e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[join_wrapped_numbers] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testro6vit74) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testro6vit74), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testro6vit74'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_capture_pane_flags[preserve_trailing_spaces] ______ request = > session_params = {}, server = Server(socket_name=libtmux_testcybg8wdr) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcybg8wdr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcybg8wdr'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[no_preserve_trailing] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testomz9njkd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testomz9njkd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testomz9njkd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_capture_pane_flags[trim_trailing_basic] ________ request = > session_params = {}, server = Server(socket_name=libtmux_testtv6z12gq) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtv6z12gq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtv6z12gq'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[escape_sequences_with_join] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testsdmyvax3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsdmyvax3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsdmyvax3'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_capture_pane_flags[join_with_preserve_trailing] ____ request = > session_params = {}, server = Server(socket_name=libtmux_testmfd0ys_n) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmfd0ys_n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmfd0ys_n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_capture_pane_flags[all_flags_except_trim] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testyfjxvq69) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyfjxvq69), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyfjxvq69'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_backward_compatible ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testv7m0_qui) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv7m0_qui), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv7m0_qui'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_capture_pane_start_end_with_flags ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testo03ih8bd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo03ih8bd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo03ih8bd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_capture_pane_trim_trailing_warning ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testo2ry68gx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testo2ry68gx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo2ry68gx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testpt3eri4a) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpt3eri4a), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpt3eri4a'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_getenv _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_testolsxwbym) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testolsxwbym), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testolsxwbym'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_has_session ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbcvzh807) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbcvzh807), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcvzh807'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test0uvr6wyh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0uvr6wyh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0uvr6wyh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_select_window_returns_Window ______________ request = > session_params = {}, server = Server(socket_name=libtmux_test17uorgje) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test17uorgje), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test17uorgje'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_active_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test9zbxmu4e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9zbxmu4e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9zbxmu4e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_active_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testdxa2s_49) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdxa2s_49), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdxa2s_49'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_session_rename _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testzyba48p1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzyba48p1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyba48p1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_show_options ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbps3nx50) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbps3nx50), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbps3nx50'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_set_show_options_single ________________ request = > session_params = {}, server = Server(socket_name=libtmux_testx64toe91) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testx64toe91), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx64toe91'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_set_show_option ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testmydn8abk) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmydn8abk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmydn8abk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_empty_session_option_returns_None ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testb2khrqxi) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb2khrqxi), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testb2khrqxi'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_option_unknown __________________ request = > session_params = {}, server = Server(socket_name=libtmux_testogsluvj9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testogsluvj9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testogsluvj9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_show_option_ambiguous _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testzwy8hu2q) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzwy8hu2q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzwy8hu2q'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ ERROR at setup of test_set_option_ambiguous __________________ request = > session_params = {}, server = Server(socket_name=libtmux_testtm4a1s8c) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtm4a1s8c), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtm4a1s8c'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_set_option_invalid ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_test4h_uqo2a) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4h_uqo2a), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4h_uqo2a'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_show_environment ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testkcjn2y9h) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkcjn2y9h), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkcjn2y9h'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_show_environment_single ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testtjnecsi4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtjnecsi4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtjnecsi4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_show_environment_not_set ________________ request = > session_params = {}, server = Server(socket_name=libtmux_testk4via8e0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk4via8e0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk4via8e0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_remove_environment ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_test07e5o4yc) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test07e5o4yc), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test07e5o4yc'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_unset_environment ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testjf6ih5w4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjf6ih5w4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjf6ih5w4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_periods_raise_bad_session_name[period_in_name] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testunj69s8c) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testunj69s8c), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testunj69s8c'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____ ERROR at setup of test_periods_raise_bad_session_name[colon_in_name] _____ request = > session_params = {}, server = Server(socket_name=libtmux_test9_1oi3kz) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9_1oi3kz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9_1oi3kz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_periods_raise_bad_session_name[valid_name] _______ request = > session_params = {}, server = Server(socket_name=libtmux_test_9qp3nga) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_9qp3nga), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_9qp3nga'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_cmd_inserts_session_id _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testbzywcvts) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbzywcvts), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbzywcvts'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ ERROR at setup of test_new_window_with_environment[single_env_var] ______ request = > session_params = {}, server = Server(socket_name=libtmux_test4l9zjcmw) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4l9zjcmw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4l9zjcmw'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____ ERROR at setup of test_new_window_with_environment[multiple_env_vars] _____ request = > session_params = {}, server = Server(socket_name=libtmux_testh3lr5qzs) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh3lr5qzs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testh3lr5qzs'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_session_new_window_with_direction ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testoudi0wrf) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testoudi0wrf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoudi0wrf'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_new_window_start_directory[none_value] _________ request = > session_params = {}, server = Server(socket_name=libtmux_test6vkhq9pt) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6vkhq9pt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6vkhq9pt'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_new_window_start_directory[empty_string] ________ request = > session_params = {}, server = Server(socket_name=libtmux_test8e_d2am1) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8e_d2am1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8e_d2am1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_new_window_start_directory[user_path] _________ request = > session_params = {}, server = Server(socket_name=libtmux_testd2pj71af) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd2pj71af), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd2pj71af'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_new_window_start_directory[relative_path] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testh4951l0e) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testh4951l0e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testh4951l0e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_new_window_start_directory_pathlib ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testvimjzxwt) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvimjzxwt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvimjzxwt'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_find_where _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testu32ts48y) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu32ts48y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu32ts48y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ ERROR at setup of test_find_where_None ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testzc6tnrj_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzc6tnrj_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzc6tnrj_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_find_where_multiple_infos _______________ request = > session_params = {}, server = Server(socket_name=libtmux_testg82q6ouh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testg82q6ouh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testg82q6ouh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ ERROR at setup of test_where _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_test_ag9r15m) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_ag9r15m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_ag9r15m'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ ERROR at setup of test_select_window _____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testd9wtz3sx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd9wtz3sx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd9wtz3sx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_fresh_window_data ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testho6lerf_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testho6lerf_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testho6lerf_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_newest_pane_data ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_test958hlw6y) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test958hlw6y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test958hlw6y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_active_pane ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_test657u89rp) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test657u89rp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test657u89rp'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ ERROR at setup of test_split _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_tests8j3ihzy) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests8j3ihzy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests8j3ihzy'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_split_shell ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testtbdm8e9w) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtbdm8e9w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtbdm8e9w'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_split_horizontal ____________________ request = > session_params = {}, server = Server(socket_name=libtmux_testmu3avshf) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmu3avshf), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmu3avshf'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_split_size _______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testv3f70q4a) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv3f70q4a), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv3f70q4a'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_window_rename[rename_with_spaces] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testia10_gbn) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testia10_gbn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testia10_gbn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_window_rename[rename_with_escapes] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testq8jz3snt) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq8jz3snt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq8jz3snt'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_kill_window ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testotx3uin_) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testotx3uin_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testotx3uin_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_window_options __________________ request = > session_params = {}, server = Server(socket_name=libtmux_testq0f6_eub) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq0f6_eub), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq0f6_eub'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_set_window_and_show_window_options ___________ request = > session_params = {}, server = Server(socket_name=libtmux_testd5ukvz4q) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd5ukvz4q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd5ukvz4q'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_and_show_window_options ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testp7k6t01o) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp7k6t01o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp7k6t01o'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_empty_window_option_returns_None ____________ request = > session_params = {}, server = Server(socket_name=libtmux_testkzfmngh4) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkzfmngh4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkzfmngh4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ ERROR at setup of test_show_window_option ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_test4kr8yqn0) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4kr8yqn0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4kr8yqn0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_show_window_option_unknown _______________ request = > session_params = {}, server = Server(socket_name=libtmux_testp82wdgzq) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testp82wdgzq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp82wdgzq'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_show_window_option_ambiguous ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testsbxo1ru6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsbxo1ru6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsbxo1ru6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ ERROR at setup of test_set_window_option_ambiguous ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testxmqh4i9k) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxmqh4i9k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxmqh4i9k'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_set_window_option_invalid _______________ request = > session_params = {}, server = Server(socket_name=libtmux_testrt4fojbx) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrt4fojbx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrt4fojbx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ ERROR at setup of test_move_window ______________________ request = > session_params = {}, server = Server(socket_name=libtmux_testf21846v9) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf21846v9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testf21846v9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_move_window_to_other_session ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testtf_wonvk) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtf_wonvk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtf_wonvk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_select_layout_accepts_no_arg ______________ request = > session_params = {}, server = Server(socket_name=libtmux_testys4n5e_7) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testys4n5e_7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testys4n5e_7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_empty_window_name ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testv9u6z_jd) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv9u6z_jd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv9u6z_jd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ ERROR at setup of test_split_with_environment[single_env_var] _________ request = > session_params = {}, server = Server(socket_name=libtmux_test6l_0j8nm) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6l_0j8nm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6l_0j8nm'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ ERROR at setup of test_split_with_environment[multiple_env_vars] _______ request = > session_params = {}, server = Server(socket_name=libtmux_testvknh4wpg) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvknh4wpg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvknh4wpg'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ ERROR at setup of test_split_window_zoom ___________________ request = > session_params = {}, server = Server(socket_name=libtmux_testyz0pta3g) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyz0pta3g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyz0pta3g'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ ERROR at setup of test_resize _________________________ request = >, session_params = {} server = Server(socket_name=libtmux_test97ndvzx8) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test97ndvzx8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test97ndvzx8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ ERROR at setup of test_new_window_with_direction _______________ request = > session_params = {}, server = Server(socket_name=libtmux_testt3xd4pwi) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testt3xd4pwi), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testt3xd4pwi'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ ERROR at setup of test_window_context_manager _________________ request = > session_params = {}, server = Server(socket_name=libtmux_testmdr814sh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmdr814sh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmdr814sh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[none_value] ___________ request = > session_params = {}, server = Server(socket_name=libtmux_test780qx56n) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test780qx56n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test780qx56n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ ERROR at setup of test_split_start_directory[empty_string] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testmt53g8yh) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmt53g8yh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmt53g8yh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ ERROR at setup of test_split_start_directory[user_path] ____________ request = > session_params = {}, server = Server(socket_name=libtmux_test4nami0bo) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4nami0bo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4nami0bo'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ ERROR at setup of test_split_start_directory[relative_path] __________ request = > session_params = {}, server = Server(socket_name=libtmux_testmtq7hwe3) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmtq7hwe3), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmtq7hwe3'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ ERROR at setup of test_split_start_directory_pathlib _____________ request = > session_params = {}, server = Server(socket_name=libtmux_testkzhiru9b) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkzhiru9b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkzhiru9b'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[set_window_option] _ request = > session_params = {}, server = Server(socket_name=libtmux_testig5vtmok) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testig5vtmok), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testig5vtmok'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[show_window_options] _ request = > session_params = {}, server = Server(socket_name=libtmux_test9014xged) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9014xged), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9014xged'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ ERROR at setup of test_deprecated_window_methods_emit_warning[show_window_option] _ request = > session_params = {}, server = Server(socket_name=libtmux_testkx8zn3wl) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkx8zn3wl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkx8zn3wl'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException =================================== FAILURES =================================== __________________ test_kill_session_raises_deprecated_error ___________________ server = Server(socket_name=libtmux_test9cixg2m4) def test_kill_session_raises_deprecated_error(server: Server) -> None: """Test Session.kill_session() raises exc.DeprecatedError.""" # Create a new session to kill (so we don't kill our test session) > new_session = server.new_session(session_name="test_kill_session", detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/legacy_api/test_session.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9cixg2m4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9cixg2m4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_get_test_session_name_loop_behavior ___________________ server = Server(socket_name=libtmux_test9l2dhxp4) def test_get_test_session_name_loop_behavior( server: Server, ) -> None: """Test the loop behavior in get_test_session_name using real sessions.""" # Get a first session name first_name = get_test_session_name(server=server) # Create this session to trigger the loop behavior > with server.new_session(first_name): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_random.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9l2dhxp4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9l2dhxp4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_get_test_session_name_implementation_details _______________ server = Server(socket_name=libtmux_test_gzjcwb1) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc5770de0> def test_get_test_session_name_implementation_details( server: Server, monkeypatch: MonkeyPatch, ) -> None: """Test specific implementation details of get_test_session_name function.""" # Create a session with a name that will cause a collision # This will test the while loop behavior (Lines 56-59) prefix = "collision_prefix_" first_random = next(namer) # Create a session that will match our first attempt inside get_test_session_name collision_name = prefix + first_random # Create a real session to force a collision > with server.new_session(collision_name): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_random.py:569: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_gzjcwb1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_gzjcwb1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_temp_session_creates_and_destroys ____________________ server = Server(socket_name=libtmux_testc9st6alk) def test_temp_session_creates_and_destroys(server: Server) -> None: """Test that temp_session creates and destroys a session.""" > with temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testc9st6alk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testc9st6alk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_temp_session_with_name __________________________ server = Server(socket_name=libtmux_testpjbe0ht1) def test_temp_session_with_name(server: Server) -> None: """Test temp_session with a provided session name.""" session_name = "test_session" > with temp_session(server, session_name=session_name) as session: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testpjbe0ht1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpjbe0ht1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_temp_session_cleanup_on_exception ____________________ server = Server(socket_name=libtmux_testlezpx4oc) def test_temp_session_cleanup_on_exception(server: Server) -> None: """Test that temp_session cleans up even when an exception occurs.""" test_error = RuntimeError() session_name = None > with pytest.raises(RuntimeError), temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlezpx4oc), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlezpx4oc'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ test_temp_session_outside_context _______________________ server = Server(socket_name=libtmux_testw9qzb7oh) def test_temp_session_outside_context(server: Server) -> None: """Test that temp_session's finally block handles a session already killed.""" session_name = None > with temp_session(server) as session: ^^^^^^^^^^^^^^^^^^^^ tests/test/test_temporary.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/contextlib.py:141: in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/test/temporary.py:66: in temp_session session = server.new_session(session_name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testw9qzb7oh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testw9qzb7oh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________________ test_pane ___________________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc592cec0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pane0') server = Server(socket_name=libtmux_test3d1ya_8q) def test_pane( monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, server: Server, ) -> None: """Verify Pane dataclass object.""" monkeypatch.chdir(tmp_path) try: > session_ = server.sessions[0] ^^^^^^^^^^^^^^^^^^ E IndexError: list index out of range /build/python-libtmux/src/libtmux-0.53.0/tests/test_dataclasses.py:41: IndexError During handling of the above exception, another exception occurred: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc592cec0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_pane0') server = Server(socket_name=libtmux_test3d1ya_8q) def test_pane( monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, server: Server, ) -> None: """Verify Pane dataclass object.""" monkeypatch.chdir(tmp_path) try: session_ = server.sessions[0] except Exception: > session_ = server.new_session() ^^^^^^^^^^^^^^^^^^^^ /build/python-libtmux/src/libtmux-0.53.0/tests/test_dataclasses.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3d1ya_8q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3d1ya_8q'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_hooks_raw_cmd ______________________________ server = Server(socket_name=libtmux_teste7zc3x_k) def test_hooks_raw_cmd( server: Server, ) -> None: """Raw hook set, show, unset via cmd.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste7zc3x_k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste7zc3x_k'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_hooks_dataclass _____________________________ server = Server(socket_name=libtmux_testzbux4502) def test_hooks_dataclass( server: Server, ) -> None: """Tests for hooks dataclass.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:200: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzbux4502), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzbux4502'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_hooks_mixin _______________________________ server = Server(socket_name=libtmux_testz5hld41y) def test_hooks_mixin( server: Server, ) -> None: """Tests for hooks.""" > session = server.new_session(session_name="test hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz5hld41y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz5hld41y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[alert_activity] ________________ server = Server(socket_name=libtmux_testi5uys1c8) test_case = HookTestCase(test_id='alert_activity', hook='alert-activity', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testi5uys1c8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi5uys1c8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_hook_set_show_unset_cycle[alert_bell] __________________ server = Server(socket_name=libtmux_testsoayxrhl) test_case = HookTestCase(test_id='alert_bell', hook='alert-bell', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testsoayxrhl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsoayxrhl'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[alert_silence] _________________ server = Server(socket_name=libtmux_testgk1fnyjw) test_case = HookTestCase(test_id='alert_silence', hook='alert-silence', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgk1fnyjw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgk1fnyjw'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[client_active] _________________ server = Server(socket_name=libtmux_testjlysvxr8) test_case = HookTestCase(test_id='client_active', hook='client-active', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjlysvxr8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjlysvxr8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_attached] ________________ server = Server(socket_name=libtmux_testegplna0b) test_case = HookTestCase(test_id='client_attached', hook='client-attached', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testegplna0b), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testegplna0b'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_detached] ________________ server = Server(socket_name=libtmux_tests1_gancz) test_case = HookTestCase(test_id='client_detached', hook='client-detached', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests1_gancz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests1_gancz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_focus_in] ________________ server = Server(socket_name=libtmux_testngzaq20s) test_case = HookTestCase(test_id='client_focus_in', hook='client-focus-in', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testngzaq20s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testngzaq20s'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[client_focus_out] _______________ server = Server(socket_name=libtmux_testkacpb69s) test_case = HookTestCase(test_id='client_focus_out', hook='client-focus-out', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkacpb69s), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkacpb69s'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[client_resized] ________________ server = Server(socket_name=libtmux_test4dlet613) test_case = HookTestCase(test_id='client_resized', hook='client-resized', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4dlet613), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4dlet613'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[client_session_changed] ____________ server = Server(socket_name=libtmux_test618u579q) test_case = HookTestCase(test_id='client_session_changed', hook='client-session-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test618u579q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test618u579q'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[session_created] ________________ server = Server(socket_name=libtmux_testbxov9_s8) test_case = HookTestCase(test_id='session_created', hook='session-created', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbxov9_s8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbxov9_s8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[session_closed] ________________ server = Server(socket_name=libtmux_testu2wl4xsz) test_case = HookTestCase(test_id='session_closed', hook='session-closed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu2wl4xsz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu2wl4xsz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[session_renamed] ________________ server = Server(socket_name=libtmux_test_akpq5li) test_case = HookTestCase(test_id='session_renamed', hook='session-renamed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_akpq5li), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_akpq5li'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_linked] _________________ server = Server(socket_name=libtmux_testm38rul9h) test_case = HookTestCase(test_id='window_linked', hook='window-linked', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm38rul9h), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm38rul9h'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_renamed] ________________ server = Server(socket_name=libtmux_testtauvir3m) test_case = HookTestCase(test_id='window_renamed', hook='window-renamed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtauvir3m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtauvir3m'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[window_resized] ________________ server = Server(socket_name=libtmux_testq7aynzud) test_case = HookTestCase(test_id='window_resized', hook='window-resized', min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq7aynzud), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq7aynzud'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[window_unlinked] ________________ server = Server(socket_name=libtmux_testf5np4mr1) test_case = HookTestCase(test_id='window_unlinked', hook='window-unlinked', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testf5np4mr1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testf5np4mr1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[session_window_changed] ____________ server = Server(socket_name=libtmux_testq6tf25ju) test_case = HookTestCase(test_id='session_window_changed', hook='session-window-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq6tf25ju), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq6tf25ju'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_hook_set_show_unset_cycle[pane_died] ___________________ server = Server(socket_name=libtmux_testyk083qvg) test_case = HookTestCase(test_id='pane_died', hook='pane-died', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyk083qvg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyk083qvg'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_hook_set_show_unset_cycle[pane_exited] __________________ server = Server(socket_name=libtmux_testniz_hu5y) test_case = HookTestCase(test_id='pane_exited', hook='pane-exited', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testniz_hu5y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testniz_hu5y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[pane_focus_in] _________________ server = Server(socket_name=libtmux_test6yqpc9f_) test_case = HookTestCase(test_id='pane_focus_in', hook='pane-focus-in', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6yqpc9f_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6yqpc9f_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[pane_focus_out] ________________ server = Server(socket_name=libtmux_testm5xfo31t) test_case = HookTestCase(test_id='pane_focus_out', hook='pane-focus-out', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm5xfo31t), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm5xfo31t'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[pane_mode_changed] _______________ server = Server(socket_name=libtmux_testk3nofrl7) test_case = HookTestCase(test_id='pane_mode_changed', hook='pane-mode-changed', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk3nofrl7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk3nofrl7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[pane_set_clipboard] ______________ server = Server(socket_name=libtmux_test42bre8hg) test_case = HookTestCase(test_id='pane_set_clipboard', hook='pane-set-clipboard', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test42bre8hg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test42bre8hg'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[after_bind_key] ________________ server = Server(socket_name=libtmux_testx2pntr4k) test_case = HookTestCase(test_id='after_bind_key', hook='after-bind-key', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testx2pntr4k), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx2pntr4k'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_capture_pane] ______________ server = Server(socket_name=libtmux_test3rglcquh) test_case = HookTestCase(test_id='after_capture_pane', hook='after-capture-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3rglcquh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3rglcquh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_copy_mode] ________________ server = Server(socket_name=libtmux_testzudhm4g0) test_case = HookTestCase(test_id='after_copy_mode', hook='after-copy-mode', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzudhm4g0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzudhm4g0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_display_message] _____________ server = Server(socket_name=libtmux_test_ys2u10i) test_case = HookTestCase(test_id='after_display_message', hook='after-display-message', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_ys2u10i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_ys2u10i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_display_panes] ______________ server = Server(socket_name=libtmux_testemts3591) test_case = HookTestCase(test_id='after_display_panes', hook='after-display-panes', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testemts3591), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testemts3591'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_kill_pane] ________________ server = Server(socket_name=libtmux_testflhxbj0a) test_case = HookTestCase(test_id='after_kill_pane', hook='after-kill-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testflhxbj0a), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testflhxbj0a'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_buffers] ______________ server = Server(socket_name=libtmux_testmlg35fh7) test_case = HookTestCase(test_id='after_list_buffers', hook='after-list-buffers', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testmlg35fh7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmlg35fh7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_clients] ______________ server = Server(socket_name=libtmux_testd1j4nv6w) test_case = HookTestCase(test_id='after_list_clients', hook='after-list-clients', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd1j4nv6w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd1j4nv6w'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_list_keys] ________________ server = Server(socket_name=libtmux_testk5exgiz4) test_case = HookTestCase(test_id='after_list_keys', hook='after-list-keys', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk5exgiz4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk5exgiz4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_list_panes] _______________ server = Server(socket_name=libtmux_testvyforlm4) test_case = HookTestCase(test_id='after_list_panes', hook='after-list-panes', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvyforlm4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvyforlm4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_list_sessions] ______________ server = Server(socket_name=libtmux_testm8jq_uix) test_case = HookTestCase(test_id='after_list_sessions', hook='after-list-sessions', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm8jq_uix), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm8jq_uix'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_list_windows] ______________ server = Server(socket_name=libtmux_testq10ugvst) test_case = HookTestCase(test_id='after_list_windows', hook='after-list-windows', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testq10ugvst), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq10ugvst'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_load_buffer] _______________ server = Server(socket_name=libtmux_test0wudpx5z) test_case = HookTestCase(test_id='after_load_buffer', hook='after-load-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0wudpx5z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0wudpx5z'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_lock_server] _______________ server = Server(socket_name=libtmux_testz4ctd0be) test_case = HookTestCase(test_id='after_lock_server', hook='after-lock-server', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz4ctd0be), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz4ctd0be'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_new_session] _______________ server = Server(socket_name=libtmux_test0fhk2elb) test_case = HookTestCase(test_id='after_new_session', hook='after-new-session', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0fhk2elb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0fhk2elb'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_new_window] _______________ server = Server(socket_name=libtmux_testti9r1kj7) test_case = HookTestCase(test_id='after_new_window', hook='after-new-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testti9r1kj7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testti9r1kj7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_paste_buffer] ______________ server = Server(socket_name=libtmux_testi81drfq5) test_case = HookTestCase(test_id='after_paste_buffer', hook='after-paste-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testi81drfq5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi81drfq5'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_pipe_pane] ________________ server = Server(socket_name=libtmux_testbcstl6_e) test_case = HookTestCase(test_id='after_pipe_pane', hook='after-pipe-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbcstl6_e), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcstl6_e'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_hook_set_show_unset_cycle[after_queue] __________________ server = Server(socket_name=libtmux_test0wc14n7_) test_case = HookTestCase(test_id='after_queue', hook='after-queue', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0wc14n7_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0wc14n7_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_refresh_client] _____________ server = Server(socket_name=libtmux_testljw23hvt) test_case = HookTestCase(test_id='after_refresh_client', hook='after-refresh-client', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testljw23hvt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testljw23hvt'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_rename_session] _____________ server = Server(socket_name=libtmux_testv3mfd2iq) test_case = HookTestCase(test_id='after_rename_session', hook='after-rename-session', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv3mfd2iq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv3mfd2iq'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_rename_window] ______________ server = Server(socket_name=libtmux_test16be_2sr) test_case = HookTestCase(test_id='after_rename_window', hook='after-rename-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test16be_2sr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test16be_2sr'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_resize_pane] _______________ server = Server(socket_name=libtmux_testkn8f0b6i) test_case = HookTestCase(test_id='after_resize_pane', hook='after-resize-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testkn8f0b6i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkn8f0b6i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_resize_window] ______________ server = Server(socket_name=libtmux_testnyjumrwh) test_case = HookTestCase(test_id='after_resize_window', hook='after-resize-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testnyjumrwh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testnyjumrwh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_save_buffer] _______________ server = Server(socket_name=libtmux_testgd7q25mh) test_case = HookTestCase(test_id='after_save_buffer', hook='after-save-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgd7q25mh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgd7q25mh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_select_layout] ______________ server = Server(socket_name=libtmux_test_87mzxyu) test_case = HookTestCase(test_id='after_select_layout', hook='after-select-layout', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_87mzxyu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_87mzxyu'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_select_pane] _______________ server = Server(socket_name=libtmux_testbirod7qj) test_case = HookTestCase(test_id='after_select_pane', hook='after-select-pane', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbirod7qj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbirod7qj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_select_window] ______________ server = Server(socket_name=libtmux_testfgcl3rpj) test_case = HookTestCase(test_id='after_select_window', hook='after-select-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfgcl3rpj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfgcl3rpj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_send_keys] ________________ server = Server(socket_name=libtmux_test1i20ebop) test_case = HookTestCase(test_id='after_send_keys', hook='after-send-keys', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test1i20ebop), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test1i20ebop'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_set_buffer] _______________ server = Server(socket_name=libtmux_testyibuh_60) test_case = HookTestCase(test_id='after_set_buffer', hook='after-set-buffer', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testyibuh_60), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyibuh_60'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_set_environment] _____________ server = Server(socket_name=libtmux_testgown86ai) test_case = HookTestCase(test_id='after_set_environment', hook='after-set-environment', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgown86ai), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgown86ai'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_hook_set_show_unset_cycle[after_set_hook] ________________ server = Server(socket_name=libtmux_test6ut5wi4j) test_case = HookTestCase(test_id='after_set_hook', hook='after-set-hook', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6ut5wi4j), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6ut5wi4j'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_set_option] _______________ server = Server(socket_name=libtmux_testxw89z7bs) test_case = HookTestCase(test_id='after_set_option', hook='after-set-option', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxw89z7bs), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxw89z7bs'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_hook_set_show_unset_cycle[after_show_environment] ____________ server = Server(socket_name=libtmux_test8ncx6wer) test_case = HookTestCase(test_id='after_show_environment', hook='after-show-environment', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8ncx6wer), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8ncx6wer'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_hook_set_show_unset_cycle[after_show_messages] ______________ server = Server(socket_name=libtmux_testjrsop7z6) test_case = HookTestCase(test_id='after_show_messages', hook='after-show-messages', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjrsop7z6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjrsop7z6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_show_options] ______________ server = Server(socket_name=libtmux_testqd7e3n1_) test_case = HookTestCase(test_id='after_show_options', hook='after-show-options', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqd7e3n1_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqd7e3n1_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_hook_set_show_unset_cycle[after_split_window] ______________ server = Server(socket_name=libtmux_testdpcm_tj9) test_case = HookTestCase(test_id='after_split_window', hook='after-split-window', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdpcm_tj9), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdpcm_tj9'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_hook_set_show_unset_cycle[after_unbind_key] _______________ server = Server(socket_name=libtmux_testdsw8re2i) test_case = HookTestCase(test_id='after_unbind_key', hook='after-unbind-key', min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_hook_params()) def test_hook_set_show_unset_cycle(server: Server, test_case: HookTestCase) -> None: """Test set/show/unset cycle for each hook. This parametrized test ensures all hooks in the libtmux constants can be: 1. Set with a command 2. Shown and verified 3. Unset cleanly """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_hook_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdsw8re2i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdsw8re2i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_new_hooks_version_gated[pane_title_changed] _______________ server = Server(socket_name=libtmux_testg1c3_5zb) test_case = HookTestCase(test_id='pane_title_changed', hook='pane-title-changed', min_version='3.5', xfail_reason=None) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in NEW_HOOKS], ) def test_new_hooks_version_gated(server: Server, test_case: HookTestCase) -> None: """Test new hooks that require tmux 3.5+. These hooks are version-gated and will skip on older tmux versions. """ if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_new_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testg1c3_5zb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testg1c3_5zb'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_set_hooks[set_hooks_with_dict] ______________________ server = Server(socket_name=libtmux_testzwy8lef0) test_case = SetHooksTestCase(test_id='set_hooks_with_dict', hook='session-renamed', setup_hooks={}, operation_args={'values': {0: ...ook 1'", 5: "display-message 'hook 5'"}}, expected_indices=[0, 1, 5], expected_contains=['hook 0', 'hook 1', 'hook 5']) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzwy8lef0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzwy8lef0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_set_hooks[set_hooks_with_list] ______________________ server = Server(socket_name=libtmux_testovlkga02) test_case = SetHooksTestCase(test_id='set_hooks_with_list', hook='session-renamed', setup_hooks={}, operation_args={'values': ["di...hook 0'", "display-message 'hook 1'", "display-message 'hook 2'"]}, expected_indices=[0, 1, 2], expected_contains=None) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testovlkga02), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testovlkga02'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_set_hooks[set_hooks_clear_existing] ___________________ server = Server(socket_name=libtmux_test3ra0mwl8) test_case = SetHooksTestCase(test_id='set_hooks_clear_existing', hook='session-renamed', setup_hooks={0: "display-message 'old 0'"...={'values': {0: "display-message 'new 0'"}, 'clear_existing': True}, expected_indices=[0], expected_contains=['new 0']) @pytest.mark.parametrize("test_case", _build_set_hooks_params()) def test_set_hooks(server: Server, test_case: SetHooksTestCase) -> None: """Test set_hooks operations.""" > session = server.new_session(session_name="test_set_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3ra0mwl8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3ra0mwl8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_show_hook_returns_sparse_array ______________________ server = Server(socket_name=libtmux_testcyf6ew09) def test_show_hook_returns_sparse_array(server: Server) -> None: """Test that show_hook returns SparseArray for array hooks.""" > session = server.new_session(session_name="test_show_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:601: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcyf6ew09), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcyf6ew09'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] _ server = Server(socket_name=libtmux_testk17_qwop), test_id = 'index_zero' hook_name = 'session-renamed', hook_index = 0 hook_value = "display-message 'test zero'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk17_qwop), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk17_qwop'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] _ server = Server(socket_name=libtmux_testtegjw59n), test_id = 'index_five' hook_name = 'session-renamed', hook_index = 5 hook_value = "display-message 'test five'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtegjw59n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtegjw59n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] _ server = Server(socket_name=libtmux_testx54i0o8v), test_id = 'window_hook' hook_name = 'window-renamed', hook_index = 0 hook_value = "display-message 'window test'" @pytest.mark.parametrize( IndexedHookLookupCase._fields, [ IndexedHookLookupCase( test_id="index_zero", hook_name="session-renamed", hook_index=0, hook_value="display-message 'test zero'", ), IndexedHookLookupCase( test_id="index_five", hook_name="session-renamed", hook_index=5, hook_value="display-message 'test five'", ), IndexedHookLookupCase( test_id="window_hook", hook_name="window-renamed", hook_index=0, hook_value="display-message 'window test'", ), ], ids=lambda x: x.test_id if isinstance(x, IndexedHookLookupCase) else x, ) def test_show_hook_indexed_lookup( server: Server, test_id: str, hook_name: str, hook_index: int, hook_value: str, ) -> None: """Test that show_hook with indexed hook name returns the specific value. Per tmux.1, hooks are array options that can be queried by index. When calling show_hook("session-renamed[0]"), it should return the string value at that index, not a SparseArray. """ > session = server.new_session(session_name="test_indexed_lookup") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:672: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testx54i0o8v), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx54i0o8v'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________ test_set_hooks_with_sparse_array _______________________ server = Server(socket_name=libtmux_test42g6hzjl) def test_set_hooks_with_sparse_array(server: Server) -> None: """Test set_hooks with SparseArray input.""" > session = server.new_session(session_name="test_set_hooks_sparse") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:696: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test42g6hzjl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test42g6hzjl'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________________ test_set_hooks_method_chaining ________________________ server = Server(socket_name=libtmux_teste5mc6h7t) def test_set_hooks_method_chaining(server: Server) -> None: """Test that set_hooks supports method chaining.""" > session = server.new_session(session_name="test_set_hooks_chain") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:715: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste5mc6h7t), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste5mc6h7t'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________ test_unset_hook_clears_all_indices ______________________ server = Server(socket_name=libtmux_testdhrcx0aw) def test_unset_hook_clears_all_indices(server: Server) -> None: """Test that unset_hook without index clears all hook indices.""" > session = server.new_session(session_name="test_unset_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdhrcx0aw), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdhrcx0aw'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_set_hook_append_flag ___________________________ server = Server(socket_name=libtmux_testga6_j74i) def test_set_hook_append_flag(server: Server) -> None: """Test set_hook with append=True uses tmux's -a flag.""" > session = server.new_session(session_name="test_append_flag") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:767: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testga6_j74i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testga6_j74i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_show_hooks_stores_string_values[string_hook_value] ____________ server = Server(socket_name=libtmux_testbjem_cup) test_case = ShowHooksTestCase(test_id='string_hook_value', hook='session-renamed[0]', value='display-message "test"', expected_value='display-message test', expected_type=, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_hooks_params()) def test_show_hooks_stores_string_values( server: Server, test_case: ShowHooksTestCase, ) -> None: """Test that show_hooks() correctly stores string hook values.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:833: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbjem_cup), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbjem_cup'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_show_hooks_stores_string_values[multiple_hooks] _____________ server = Server(socket_name=libtmux_testl8bta36i) test_case = ShowHooksTestCase(test_id='multiple_hooks', hook='session-renamed[1]', value='display-message "another"', expected_value='display-message another', expected_type=, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_hooks_params()) def test_show_hooks_stores_string_values( server: Server, test_case: ShowHooksTestCase, ) -> None: """Test that show_hooks() correctly stores string hook values.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:833: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl8bta36i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testl8bta36i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_run_hook_basic ______________________________ server = Server(socket_name=libtmux_testbcrmiyke) def test_run_hook_basic(server: Server) -> None: """Test run_hook() method exists and can be called without error.""" if not has_gte_version("3.2"): pytest.skip("Requires tmux >= 3.2") > session = server.new_session(session_name="test_run_hook") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:856: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbcrmiyke), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcrmiyke'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_set_hook_flag_combinations[append_to_existing] ______________ server = Server(socket_name=libtmux_testjiwva18y) test_case = SetHookFlagTestCase(test_id='append_to_existing', flag_kwargs={'append': True}, expected_behavior='appends', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjiwva18y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjiwva18y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_set_hook_flag_combinations[global_hook] _________________ server = Server(socket_name=libtmux_testv1t_5am8) test_case = SetHookFlagTestCase(test_id='global_hook', flag_kwargs={'global_': True}, expected_behavior='global', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv1t_5am8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv1t_5am8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_set_hook_flag_combinations[run_immediately] _______________ server = Server(socket_name=libtmux_testug6hpdz2) test_case = SetHookFlagTestCase(test_id='run_immediately', flag_kwargs={'run': True}, expected_behavior='runs_immediately', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testug6hpdz2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testug6hpdz2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_set_hook_flag_combinations[append_and_global] ______________ server = Server(socket_name=libtmux_testv_7fmujh) test_case = SetHookFlagTestCase(test_id='append_and_global', flag_kwargs={'append': True, 'global_': True}, expected_behavior='appends', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SET_HOOK_FLAG_TEST_CASES], ) def test_set_hook_flag_combinations( server: Server, test_case: SetHookFlagTestCase, ) -> None: """Test set_hook with various flag combinations.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_flags") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv_7fmujh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv_7fmujh'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_hook_scope_handling[session_scope] ____________________ server = Server(socket_name=libtmux_test4fbg5raq) test_case = HookScopeTestCase(test_id='session_scope', scope='session', scope_flag='', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4fbg5raq), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4fbg5raq'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_hook_scope_handling[window_scope] ____________________ server = Server(socket_name=libtmux_testjvao476r) test_case = HookScopeTestCase(test_id='window_scope', scope='window', scope_flag='-w', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testjvao476r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjvao476r'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________ test_hook_scope_handling[pane_scope] _____________________ server = Server(socket_name=libtmux_testgjimzd86) test_case = HookScopeTestCase(test_id='pane_scope', scope='pane', scope_flag='-p', min_version='3.2') @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in HOOK_SCOPE_TEST_CASES], ) def test_hook_scope_handling( server: Server, test_case: HookScopeTestCase, ) -> None: """Test hooks at different scopes (session, window, pane).""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") > session = server.new_session(session_name="test_scope") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgjimzd86), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgjimzd86'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_hooks_parsing_edge_cases[normal_hook_value] _____________ server = Server(socket_name=libtmux_testk2t3veym) test_case = ShowHooksParseTestCase(test_id='normal_hook_value', setup_commands=[('session-renamed[0]', "display-message 'test'")], expected_keys=['session-renamed[0]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk2t3veym), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk2t3veym'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________ test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] __________ server = Server(socket_name=libtmux_testd4axqtm8) test_case = ShowHooksParseTestCase(test_id='multiple_indexed_hooks', setup_commands=[('session-renamed[0]', "display-message 'firs...essage 'fifth'")], expected_keys=['session-renamed[0]', 'session-renamed[1]', 'session-renamed[5]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd4axqtm8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd4axqtm8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ test_show_hooks_parsing_edge_cases[multiple_different_hooks] _________ server = Server(socket_name=libtmux_test_2rvq0a1) test_case = ShowHooksParseTestCase(test_id='multiple_different_hooks', setup_commands=[('session-renamed[0]', "display-message 're...dow[0]', "display-message 'split'")], expected_keys=['session-renamed[0]', 'after-split-window[0]'], check_values=True) @pytest.mark.parametrize( "test_case", [pytest.param(tc, id=tc.test_id) for tc in SHOW_HOOKS_PARSE_TEST_CASES], ) def test_show_hooks_parsing_edge_cases( server: Server, test_case: ShowHooksParseTestCase, ) -> None: """Test show_hooks parses various output formats correctly.""" > session = server.new_session(session_name="test_parsing") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_2rvq0a1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_2rvq0a1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_show_hooks_empty_result _________________________ server = Server(socket_name=libtmux_testd4a3trjx) def test_show_hooks_empty_result(server: Server) -> None: """Test show_hooks returns empty dict when no hooks are set.""" > session = server.new_session(session_name="test_empty_hooks") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_hooks.py:1113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd4a3trjx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd4a3trjx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_options _________________________________ server = Server(socket_name=libtmux_testz30q6nce) def test_options(server: Server) -> None: """Test basic options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz30q6nce), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz30q6nce'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_server ______________________________ server = Server(socket_name=libtmux_test6kj01umn) def test_options_server(server: Server) -> None: """Test server options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6kj01umn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6kj01umn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_session _____________________________ server = Server(socket_name=libtmux_testdvt8wzku) def test_options_session(server: Server) -> None: """Test session options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdvt8wzku), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdvt8wzku'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_options_window ______________________________ server = Server(socket_name=libtmux_testfjven6w5) def test_options_window(server: Server) -> None: """Test window options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfjven6w5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfjven6w5'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_options_pane _______________________________ server = Server(socket_name=libtmux_testtvgl_52d) def test_options_pane(server: Server) -> None: """Test pane options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtvgl_52d), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtvgl_52d'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________________________ test_options_grid _______________________________ server = Server(socket_name=libtmux_testz6rthy3n) def test_options_grid(server: Server) -> None: """Test options against grid.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testz6rthy3n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz6rthy3n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________________________ test_custom_options ______________________________ server = Server(socket_name=libtmux_testqe_3bnrv) def test_custom_options( server: Server, ) -> None: """Test tmux's user (custom) options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:198: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqe_3bnrv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqe_3bnrv'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_show_option_pane_fixture[terminal-features] _______________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc52d0910> test_id = 'terminal-features' mocked_cmd_stdout = ['terminal-features[0] xterm*:clipboard:ccolour:cstyle:focus', 'terminal-features[1] screen*:title'] tmux_option = 'terminal-features' expected = {'screen*': ['title'], 'xterm*': ['clipboard', 'ccolour', 'cstyle', 'focus']} dataclass_attribute = 'terminal_features' server = Server(socket_name=libtmux_testhfyxm_ka) @pytest.mark.parametrize( list(OptionDataclassTestFixture._fields), TEST_FIXTURES, ids=[test.test_id for test in TEST_FIXTURES], ) def test_show_option_pane_fixture( monkeypatch: pytest.MonkeyPatch, test_id: str, mocked_cmd_stdout: list[str], tmux_option: str, expected: t.Any, dataclass_attribute: str, server: Server, ) -> None: """Test Pane.show_option(s)?.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:502: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhfyxm_ka), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhfyxm_ka'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_show_option_pane_fixture[command-alias] _________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc52d3150> test_id = 'command-alias' mocked_cmd_stdout = ['command-alias[0] split-pane=split-window', 'command-alias[1] splitp=split-window', 'command-alias[2] "server-info=sh...-messages -JT"', 'command-alias[4] "choose-window=choose-tree -w"', 'command-alias[5] "choose-session=choose-tree -s"'] tmux_option = 'command-alias' expected = {'choose-session': 'choose-tree -s', 'choose-window': 'choose-tree -w', 'info': 'show-messages -JT', 'server-info': 'show-messages -JT', ...} dataclass_attribute = 'command_alias' server = Server(socket_name=libtmux_testerc_i0hd) @pytest.mark.parametrize( list(OptionDataclassTestFixture._fields), TEST_FIXTURES, ids=[test.test_id for test in TEST_FIXTURES], ) def test_show_option_pane_fixture( monkeypatch: pytest.MonkeyPatch, test_id: str, mocked_cmd_stdout: list[str], tmux_option: str, expected: t.Any, dataclass_attribute: str, server: Server, ) -> None: """Test Pane.show_option(s)?.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:502: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testerc_i0hd), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testerc_i0hd'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________ test_stable_baseline_options_and_hooks ____________________ server = Server(socket_name=libtmux_testb9g6awrt) def test_stable_baseline_options_and_hooks(server: Server) -> None: """Ensure stable baseline across tmux versions.""" > session = server.new_session(session_name="test", detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:515: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testb9g6awrt), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testb9g6awrt'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_complex_option_values __________________________ server = Server(socket_name=libtmux_test_xcozw1q) def test_complex_option_values(server: Server) -> None: """Test complex option values and edge cases.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_xcozw1q), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_xcozw1q'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_style_option_validation _________________________ server = Server(socket_name=libtmux_testx3pe1d2w) def test_style_option_validation(server: Server) -> None: """Test style option validation.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:636: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testx3pe1d2w), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx3pe1d2w'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_option_error_handling __________________________ server = Server(socket_name=libtmux_testgksh4dub) def test_option_error_handling(server: Server) -> None: """Test error handling for options.""" > session = server.new_session(session_name="test") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgksh4dub), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgksh4dub'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_buffer_limit] ________________ server = Server(socket_name=libtmux_testegp2nyjk) test_case = OptionTestCase(test_id='server_buffer_limit', option='buffer-limit', scope=, test_value=100, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testegp2nyjk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testegp2nyjk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[server_escape_time] ________________ server = Server(socket_name=libtmux_test9qhnerut) test_case = OptionTestCase(test_id='server_escape_time', option='escape-time', scope=, test_value=50, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9qhnerut), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9qhnerut'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_message_limit] _______________ server = Server(socket_name=libtmux_testa1elhvnx) test_case = OptionTestCase(test_id='server_message_limit', option='message-limit', scope=, test_value=500, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testa1elhvnx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testa1elhvnx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_option_set_show_cycle[server_prompt_history_limit] ____________ server = Server(socket_name=libtmux_test0y8n6mch) test_case = OptionTestCase(test_id='server_prompt_history_limit', option='prompt-history-limit', scope=, test_value=50, expected_type=, min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0y8n6mch), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0y8n6mch'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[server_exit_empty] _________________ server = Server(socket_name=libtmux_testudwpi4q8) test_case = OptionTestCase(test_id='server_exit_empty', option='exit-empty', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testudwpi4q8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testudwpi4q8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[server_exit_unattached] ______________ server = Server(socket_name=libtmux_testdrg948qn) test_case = OptionTestCase(test_id='server_exit_unattached', option='exit-unattached', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testdrg948qn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdrg948qn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_focus_events] ________________ server = Server(socket_name=libtmux_test7vnl2459) test_case = OptionTestCase(test_id='server_focus_events', option='focus-events', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7vnl2459), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7vnl2459'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_extended_keys] _______________ server = Server(socket_name=libtmux_testle7py8qr) test_case = OptionTestCase(test_id='server_extended_keys', option='extended-keys', scope=, test_value='always', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testle7py8qr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testle7py8qr'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[server_set_clipboard] _______________ server = Server(socket_name=libtmux_testac92mlxy) test_case = OptionTestCase(test_id='server_set_clipboard', option='set-clipboard', scope=, test_value='external', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testac92mlxy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testac92mlxy'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[server_default_terminal] ______________ server = Server(socket_name=libtmux_testvo2ukem0) test_case = OptionTestCase(test_id='server_default_terminal', option='default-terminal', scope=, test_value='screen-256color', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvo2ukem0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvo2ukem0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_option_set_show_cycle[server_editor] ___________________ server = Server(socket_name=libtmux_testvut2j8kp) test_case = OptionTestCase(test_id='server_editor', option='editor', scope=, test_value='vim', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvut2j8kp), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvut2j8kp'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[session_base_index] ________________ server = Server(socket_name=libtmux_testakt69ji_) test_case = OptionTestCase(test_id='session_base_index', option='base-index', scope=, test_value=1, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testakt69ji_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testakt69ji_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_display_panes_time] ____________ server = Server(socket_name=libtmux_testwtdyvps7) test_case = OptionTestCase(test_id='session_display_panes_time', option='display-panes-time', scope=, test_value=2000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwtdyvps7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwtdyvps7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_display_time] _______________ server = Server(socket_name=libtmux_testlf1x3ged) test_case = OptionTestCase(test_id='session_display_time', option='display-time', scope=, test_value=1000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlf1x3ged), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlf1x3ged'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_history_limit] _______________ server = Server(socket_name=libtmux_test8ne5vfri) test_case = OptionTestCase(test_id='session_history_limit', option='history-limit', scope=, test_value=5000, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8ne5vfri), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8ne5vfri'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_lock_after_time] ______________ server = Server(socket_name=libtmux_test3tzc6mok) test_case = OptionTestCase(test_id='session_lock_after_time', option='lock-after-time', scope=, test_value=300, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3tzc6mok), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3tzc6mok'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_repeat_time] ________________ server = Server(socket_name=libtmux_testcugm1kd6) test_case = OptionTestCase(test_id='session_repeat_time', option='repeat-time', scope=, test_value=500, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcugm1kd6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcugm1kd6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_status_interval] ______________ server = Server(socket_name=libtmux_tests2wqygfj) test_case = OptionTestCase(test_id='session_status_interval', option='status-interval', scope=, test_value=5, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_tests2wqygfj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests2wqygfj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_left_length] ____________ server = Server(socket_name=libtmux_testd8zqlbf6) test_case = OptionTestCase(test_id='session_status_left_length', option='status-left-length', scope=, test_value=20, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd8zqlbf6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd8zqlbf6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_option_set_show_cycle[session_status_right_length] ____________ server = Server(socket_name=libtmux_test_utgqky0) test_case = OptionTestCase(test_id='session_status_right_length', option='status-right-length', scope=, test_value=30, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_utgqky0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_utgqky0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_destroy_unattached] ____________ server = Server(socket_name=libtmux_testn91zgal6) test_case = OptionTestCase(test_id='session_destroy_unattached', option='destroy-unattached', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn91zgal6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testn91zgal6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_option_set_show_cycle[session_mouse] ___________________ server = Server(socket_name=libtmux_testn0325bi6) test_case = OptionTestCase(test_id='session_mouse', option='mouse', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testn0325bi6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testn0325bi6'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_renumber_windows] _____________ server = Server(socket_name=libtmux_testiec_2k7n) test_case = OptionTestCase(test_id='session_renumber_windows', option='renumber-windows', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiec_2k7n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testiec_2k7n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[session_set_titles] ________________ server = Server(socket_name=libtmux_testab24wm68) test_case = OptionTestCase(test_id='session_set_titles', option='set-titles', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testab24wm68), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testab24wm68'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_activity_action] ______________ server = Server(socket_name=libtmux_testuwhca3sm) test_case = OptionTestCase(test_id='session_activity_action', option='activity-action', scope=, test_value='any', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testuwhca3sm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testuwhca3sm'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_bell_action] ________________ server = Server(socket_name=libtmux_testm8z0ida5) test_case = OptionTestCase(test_id='session_bell_action', option='bell-action', scope=, test_value='any', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm8z0ida5), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm8z0ida5'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_detach_on_destroy] _____________ server = Server(socket_name=libtmux_testv4s5gizr) test_case = OptionTestCase(test_id='session_detach_on_destroy', option='detach-on-destroy', scope=, test_value='no-detached', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testv4s5gizr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv4s5gizr'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_silence_action] ______________ server = Server(socket_name=libtmux_testzvx60ukl) test_case = OptionTestCase(test_id='session_silence_action', option='silence-action', scope=, test_value='none', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzvx60ukl), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzvx60ukl'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_keys] ________________ server = Server(socket_name=libtmux_teste_ikncq2) test_case = OptionTestCase(test_id='session_status_keys', option='status-keys', scope=, test_value='vi', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_teste_ikncq2), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste_ikncq2'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_status_justify] ______________ server = Server(socket_name=libtmux_testzyo6sk9n) test_case = OptionTestCase(test_id='session_status_justify', option='status-justify', scope=, test_value='left', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzyo6sk9n), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyo6sk9n'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_status_position] ______________ server = Server(socket_name=libtmux_test_i0u5btg) test_case = OptionTestCase(test_id='session_status_position', option='status-position', scope=, test_value='bottom', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_i0u5btg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_i0u5btg'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_visual_activity] ______________ server = Server(socket_name=libtmux_test69x2azbo) test_case = OptionTestCase(test_id='session_visual_activity', option='visual-activity', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test69x2azbo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test69x2azbo'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_visual_bell] ________________ server = Server(socket_name=libtmux_testk7b51pco) test_case = OptionTestCase(test_id='session_visual_bell', option='visual-bell', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk7b51pco), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk7b51pco'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_visual_silence] ______________ server = Server(socket_name=libtmux_test7gx12jl4) test_case = OptionTestCase(test_id='session_visual_silence', option='visual-silence', scope=, test_value='both', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test7gx12jl4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7gx12jl4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[session_default_command] ______________ server = Server(socket_name=libtmux_test8jp1rtmy) test_case = OptionTestCase(test_id='session_default_command', option='default-command', scope=, test_value='', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8jp1rtmy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8jp1rtmy'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_left] ________________ server = Server(socket_name=libtmux_testrswcbqkx) test_case = OptionTestCase(test_id='session_status_left', option='status-left', scope=, test_value='[#S]', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrswcbqkx), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrswcbqkx'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_right] _______________ server = Server(socket_name=libtmux_test_qyna18o) test_case = OptionTestCase(test_id='session_status_right', option='status-right', scope=, test_value='%H:%M', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test_qyna18o), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_qyna18o'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[session_status_style] _______________ server = Server(socket_name=libtmux_testcgh1vi4z) test_case = OptionTestCase(test_id='session_status_style', option='status-style', scope=, test_value='fg=green', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcgh1vi4z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcgh1vi4z'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_left_style] _____________ server = Server(socket_name=libtmux_testrpoujy9i) test_case = OptionTestCase(test_id='session_status_left_style', option='status-left-style', scope=, test_value='fg=blue', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrpoujy9i), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrpoujy9i'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[session_status_right_style] ____________ server = Server(socket_name=libtmux_testchumjzyk) test_case = OptionTestCase(test_id='session_status_right_style', option='status-right-style', scope=, test_value='fg=yellow', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testchumjzyk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testchumjzyk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[session_message_style] _______________ server = Server(socket_name=libtmux_testnz1kx6v8) test_case = OptionTestCase(test_id='session_message_style', option='message-style', scope=, test_value='fg=red', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testnz1kx6v8), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testnz1kx6v8'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[window_pane_base_index] ______________ server = Server(socket_name=libtmux_testoc60x2dv) test_case = OptionTestCase(test_id='window_pane_base_index', option='pane-base-index', scope=, test_value=1, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testoc60x2dv), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoc60x2dv'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[window_monitor_silence] ______________ server = Server(socket_name=libtmux_test4s2lra31) test_case = OptionTestCase(test_id='window_monitor_silence', option='monitor-silence', scope=, test_value=10, expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4s2lra31), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4s2lra31'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_aggressive_resize] _____________ server = Server(socket_name=libtmux_test2jymwanz) test_case = OptionTestCase(test_id='window_aggressive_resize', option='aggressive-resize', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2jymwanz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2jymwanz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_automatic_rename] ______________ server = Server(socket_name=libtmux_testcu5fh6tn) test_case = OptionTestCase(test_id='window_automatic_rename', option='automatic-rename', scope=, test_value='off', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcu5fh6tn), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcu5fh6tn'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_monitor_activity] ______________ server = Server(socket_name=libtmux_testfc2_3nzm) test_case = OptionTestCase(test_id='window_monitor_activity', option='monitor-activity', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfc2_3nzm), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfc2_3nzm'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[window_monitor_bell] ________________ server = Server(socket_name=libtmux_testlh3tjbp4) test_case = OptionTestCase(test_id='window_monitor_bell', option='monitor-bell', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testlh3tjbp4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlh3tjbp4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_wrap_search] ________________ server = Server(socket_name=libtmux_testcq2xk5eb) test_case = OptionTestCase(test_id='window_wrap_search', option='wrap-search', scope=, test_value='on', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcq2xk5eb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcq2xk5eb'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_clock_mode_style] ______________ server = Server(socket_name=libtmux_testhrb85t_c) test_case = OptionTestCase(test_id='window_clock_mode_style', option='clock-mode-style', scope=, test_value='24', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhrb85t_c), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhrb85t_c'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_option_set_show_cycle[window_mode_keys] _________________ server = Server(socket_name=libtmux_testcji8xako) test_case = OptionTestCase(test_id='window_mode_keys', option='mode-keys', scope=, test_value='vi', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testcji8xako), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcji8xako'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_pane_border_status] _____________ server = Server(socket_name=libtmux_testm2kfaop_) test_case = OptionTestCase(test_id='window_pane_border_status', option='pane-border-status', scope=, test_value='top', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testm2kfaop_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm2kfaop_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_window_size] ________________ server = Server(socket_name=libtmux_testtfap1j9l) test_case = OptionTestCase(test_id='window_window_size', option='window-size', scope=, test_value='latest', expected_type=, min_version='3.1', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testtfap1j9l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtfap1j9l'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_pane_border_format] _____________ server = Server(socket_name=libtmux_test6gm8t45h) test_case = OptionTestCase(test_id='window_pane_border_format', option='pane-border-format', scope=, test_value='#{pane_index}', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6gm8t45h), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6gm8t45h'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[window_mode_style] _________________ server = Server(socket_name=libtmux_testrtk1q38g) test_case = OptionTestCase(test_id='window_mode_style', option='mode-style', scope=, test_value='fg=white', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testrtk1q38g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrtk1q38g'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[window_pane_border_style] _____________ server = Server(socket_name=libtmux_testwm46o5nz) test_case = OptionTestCase(test_id='window_pane_border_style', option='pane-border-style', scope=, test_value='fg=green', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwm46o5nz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwm46o5nz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________ test_option_set_show_cycle[window_pane_active_border_style] __________ server = Server(socket_name=libtmux_test5ipyga7m) test_case = OptionTestCase(test_id='window_pane_active_border_style', option='pane-active-border-style', scope=, test_value='fg=red', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test5ipyga7m), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test5ipyga7m'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_option_set_show_cycle[window_window_status_style] ____________ server = Server(socket_name=libtmux_testbrhex1k7) test_case = OptionTestCase(test_id='window_window_status_style', option='window-status-style', scope=, test_value='fg=cyan', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbrhex1k7), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbrhex1k7'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________ test_option_set_show_cycle[window_window_status_current_style] ________ server = Server(socket_name=libtmux_testfwn_03cu) test_case = OptionTestCase(test_id='window_window_status_current_style', option='window-status-current-style', scope=, test_value='fg=magenta', expected_type=, min_version=None, xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testfwn_03cu), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfwn_03cu'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[pane_allow_rename] _________________ server = Server(socket_name=libtmux_testiu9vkqwz) test_case = OptionTestCase(test_id='pane_allow_rename', option='allow-rename', scope=, test_value='off', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testiu9vkqwz), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testiu9vkqwz'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_alternate_screen] _______________ server = Server(socket_name=libtmux_testeg5423to) test_case = OptionTestCase(test_id='pane_alternate_screen', option='alternate-screen', scope=, test_value='on', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testeg5423to), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testeg5423to'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[pane_scroll_on_clear] _______________ server = Server(socket_name=libtmux_testhwrst903) test_case = OptionTestCase(test_id='pane_scroll_on_clear', option='scroll-on-clear', scope=, test_value='on', expected_type=, min_version='3.3', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testhwrst903), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhwrst903'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_synchronize_panes] ______________ server = Server(socket_name=libtmux_testr52vhde1) test_case = OptionTestCase(test_id='pane_synchronize_panes', option='synchronize-panes', scope=, test_value='off', expected_type=, min_version='3.1', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testr52vhde1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr52vhde1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______________ test_option_set_show_cycle[pane_allow_passthrough] ______________ server = Server(socket_name=libtmux_testxurkomy4) test_case = OptionTestCase(test_id='pane_allow_passthrough', option='allow-passthrough', scope=, test_value='all', expected_type=, min_version='3.4', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxurkomy4), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxurkomy4'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_option_set_show_cycle[pane_remain_on_exit] ________________ server = Server(socket_name=libtmux_test9e04x_1u) test_case = OptionTestCase(test_id='pane_remain_on_exit', option='remain-on-exit', scope=, test_value='failed', expected_type=, min_version='3.2', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9e04x_1u), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9e04x_1u'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_option_set_show_cycle[pane_window_style] _________________ server = Server(socket_name=libtmux_testqsnt403l) test_case = OptionTestCase(test_id='pane_window_style', option='window-style', scope=, test_value='default', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testqsnt403l), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqsnt403l'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _____________ test_option_set_show_cycle[pane_window_active_style] _____________ server = Server(socket_name=libtmux_test6g4tqxfk) test_case = OptionTestCase(test_id='pane_window_active_style', option='window-active-style', scope=, test_value='default', expected_type=, min_version='3.0', xfail_reason=None) @pytest.mark.parametrize("test_case", _build_option_params()) def test_option_set_show_cycle(server: Server, test_case: OptionTestCase) -> None: """Test set/show cycle for each option type.""" if not has_gte_version("3.0"): pytest.skip("Option tests require tmux 3.0+") if test_case.min_version and not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux {test_case.min_version}+") # Get appropriate target object > session = server.new_session(session_name="test_option_cycle") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6g4tqxfk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6g4tqxfk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_options_returns_expected_keys[server_global] ____________ server = Server(socket_name=libtmux_testr9z0hn4g) test_case = ShowOptionsTestCase(test_id='server_global', scope=, expected_keys=['buffer-limit', 'escape-time', 'exit-empty', 'focus-events'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testr9z0hn4g), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr9z0hn4g'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ test_show_options_returns_expected_keys[server_global_inherited] _______ server = Server(socket_name=libtmux_testa6jyoc4u) test_case = ShowOptionsTestCase(test_id='server_global_inherited', scope=, expected_keys=['buffer-limit', 'escape-time', 'exit-empty', 'focus-events'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testa6jyoc4u), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testa6jyoc4u'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________ test_show_options_returns_expected_keys[session_global] ____________ server = Server(socket_name=libtmux_testzm15a0qk) test_case = ShowOptionsTestCase(test_id='session_global', scope=, expected_keys=['base-index', 'history-limit', 'status'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzm15a0qk), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzm15a0qk'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ______ test_show_options_returns_expected_keys[session_global_inherited] _______ server = Server(socket_name=libtmux_testd3m62vfg) test_case = ShowOptionsTestCase(test_id='session_global_inherited', scope=, expected_keys=['base-index', 'history-limit', 'status'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testd3m62vfg), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd3m62vfg'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________ test_show_options_returns_expected_keys[window_global] ____________ server = Server(socket_name=libtmux_testxoait65z) test_case = ShowOptionsTestCase(test_id='window_global', scope=, expected_keys=['mode-keys', 'pane-base-index', 'automatic-rename'], global_=True, include_inherited=False, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testxoait65z), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxoait65z'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______ test_show_options_returns_expected_keys[window_global_inherited] _______ server = Server(socket_name=libtmux_test8i13rveb) test_case = ShowOptionsTestCase(test_id='window_global_inherited', scope=, expected_keys=['mode-keys', 'pane-base-index', 'automatic-rename'], global_=True, include_inherited=True, min_version='3.2') @pytest.mark.parametrize("test_case", _build_show_options_params()) def test_show_options_returns_expected_keys( server: Server, test_case: ShowOptionsTestCase, ) -> None: """Test that show_options() returns dict with expected scope-specific keys.""" if not has_gte_version(test_case.min_version): pytest.skip(f"Requires tmux >= {test_case.min_version}") > session = server.new_session(session_name="test_show_options") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_options.py:1250: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test8i13rveb), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8i13rveb'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_plugin __________________________________ pytester = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc4f98210> def test_plugin( pytester: pytest.Pytester, monkeypatch: pytest.MonkeyPatch, ) -> None: """Test libtmux pytest plugin.""" # Initialize variables pytester.plugins = ["pytest_plugin"] pytester.makefile( ".ini", pytest=textwrap.dedent( """ [pytest] addopts=-vv """.strip(), ), ) pytester.makeconftest( textwrap.dedent( r""" import pathlib import pytest @pytest.fixture(autouse=True) def setup( request: pytest.FixtureRequest, ) -> None: pass """, ), ) tests_path = pytester.path / "tests" files = { "example.py": textwrap.dedent( """ import pathlib def test_repo_git_remote_checkout( session, ) -> None: assert session.session_name is not None assert session.session_id == "$1" new_window = session.new_window(attach=False, window_name="my window name") assert new_window.window_name == "my window name" """, ), } first_test_key = next(iter(files.keys())) first_test_filename = str(tests_path / first_test_key) tests_path.mkdir() for file_name, text in files.items(): test_file = tests_path / file_name test_file.write_text( text, encoding="utf-8", ) # Test result = pytester.runpytest(str(first_test_filename)) > result.assert_outcomes(passed=1) E AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 0, 'errors': 1, 'xpassed': 0, 'xfailed': 0} == {'passed': 1, 'skipped': 0, 'failed': 0, 'errors': 0, 'xpassed': 0, 'xfailed': 0} E E Common items: E {'failed': 0, 'skipped': 0, 'xfailed': 0, 'xpassed': 0} E Differing items: E {'errors': 1} != {'errors': 0} E {'passed': 0} != {'passed': 1} E E Full diff: E { E - 'errors': 0, E ? ^ E + 'errors': 1, E ? ^ E 'failed': 0, E - 'passed': 1, E ? ^ E + 'passed': 0, E ? ^ E 'skipped': 0, E 'xfailed': 0, E 'xpassed': 0, E } /build/python-libtmux/src/libtmux-0.53.0/tests/test_pytest_plugin.py:78: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-builduser/pytest-0/test_plugin0 configfile: pytest.ini plugins: libtmux-0.53.0, mock-3.14.0, rerunfailures-16.1 collecting ... collected 1 item tests/example.py::test_repo_git_remote_checkout ERROR [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of test_repo_git_remote_checkout ________________ request = > session_params = {}, server = Server(socket_name=libtmux_test9okbdwm6) @pytest.fixture def session( request: pytest.FixtureRequest, session_params: dict[str, t.Any], server: Server, ) -> Session: """Return new, temporary :class:`libtmux.Session`. >>> from libtmux.session import Session >>> def test_example(session: "Session") -> None: ... assert isinstance(session.name, str) ... assert session.name.startswith('libtmux_') ... window = session.new_window(window_name='new one') ... assert window.name == 'new one' .. :: >>> locals().keys() dict_keys(...) >>> source = ''.join([e.source for e in request._pyfuncitem.dtest.examples][:3]) >>> pytester = request.getfixturevalue('pytester') >>> pytester.makepyfile(**{'whatever.py': source}) PosixPath(...) >>> result = pytester.runpytest('whatever.py', '--disable-warnings') ===... >>> result.assert_outcomes(passed=1) """ session_name = "tmuxp" if not server.has_session(session_name): > server.new_session( session_name=session_name, ) /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/pytest_plugin.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9okbdwm6), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9okbdwm6'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException =========================== short test summary info ============================ ERROR tests/example.py::test_repo_git_remote_checkout - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9okbdwm6'] =============================== 1 error in 2.10s =============================== _______________________________ test_test_server _______________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fffc4f48900>, socket_name_factory=.socket_name_factory at 0x7fffc4f49080>) def test_test_server(TestServer: t.Callable[..., Server]) -> None: """Test TestServer creates and cleans up server.""" server = TestServer() assert server.is_alive() is False # Server not started yet > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_pytest_plugin.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testzyq0pxci), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyq0pxci'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_test_server_with_config _________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fffc4f49300>, socket_name_factory=.socket_name_factory at 0x7fffc4f4a3e0>) tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_test_server_with_config0') def test_test_server_with_config( TestServer: t.Callable[..., Server], tmp_path: pathlib.Path, ) -> None: """Test TestServer with config file.""" config_file = tmp_path / "tmux.conf" config_file.write_text("set -g status off", encoding="utf-8") server = TestServer(config_file=str(config_file)) > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_pytest_plugin.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwj2uci8_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwj2uci8_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________________ test_test_server_cleanup ___________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fffc4f4a700>, socket_name_factory=.socket_name_factory at 0x7fffc4f4ab60>) def test_test_server_cleanup(TestServer: t.Callable[..., Server]) -> None: """Test TestServer properly cleans up after itself.""" server = TestServer() socket_name = server.socket_name assert socket_name is not None # Create multiple sessions > server.new_session(session_name="test1") tests/test_pytest_plugin.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testquzsec2y), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testquzsec2y'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_test_server_multiple ___________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fffc4f4af20>, socket_name_factory=.socket_name_factory at 0x7fffc4f4b060>) def test_test_server_multiple(TestServer: t.Callable[..., Server]) -> None: """Test multiple TestServer instances can coexist.""" server1 = TestServer() server2 = TestServer() # Each server should have a unique socket assert server1.socket_name != server2.socket_name # Create sessions in each server > server1.new_session(session_name="test1") tests/test_pytest_plugin.py:151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testk1n0tv25), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk1n0tv25'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_new_session _______________________________ server = Server(socket_name=libtmux_testwuponimr) def test_new_session(server: Server) -> None: """Server.new_session creates and returns valid session.""" > mysession = server.new_session("test_new_session") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testwuponimr), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwuponimr'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________________ test_new_session_no_name ___________________________ server = Server(socket_name=libtmux_testja1wr0cy) def test_new_session_no_name(server: Server) -> None: """Server.new_session works with no name.""" > first_session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testja1wr0cy), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testja1wr0cy'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ____________________________ test_new_session_shell ____________________________ server = Server(socket_name=libtmux_test3ftj251x) def test_new_session_shell(server: Server) -> None: """Verify ``Server.new_session`` creates valid session running w/ command.""" cmd = "sleep 1m" > mysession = server.new_session("test_new_session", window_command=cmd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test3ftj251x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3ftj251x'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_new_session_shell_env __________________________ server = Server(socket_name=libtmux_test80m7ogh1) def test_new_session_shell_env(server: Server) -> None: """Verify ``Server.new_session`` creates valid session running w/ command (#553).""" cmd = "sleep 1m" env = dict(os.environ) > mysession = server.new_session( "test_new_session_env", window_command=cmd, environment=env, ) tests/test_server.py:143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test80m7ogh1), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test80m7ogh1'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_new_session_environmental_variables ___________________ server = Server(socket_name=libtmux_test9z71_uwo) def test_new_session_environmental_variables( server: Server, ) -> None: """Server.new_session creates and returns valid session.""" > my_session = server.new_session("test_new_session", environment={"FOO": "HI"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test9z71_uwo), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9z71_uwo'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________________ test_with_server_is_alive ___________________________ server = Server(socket_name=libtmux_testbftyac6r) def test_with_server_is_alive(server: Server) -> None: """Verify is_alive() returns True when tmux server is alive.""" > server.new_session() tests/test_server.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testbftyac6r), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbftyac6r'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException __________________ test_raise_if_dead_does_not_raise_if_alive __________________ server = Server(socket_name=libtmux_test0x2pcmar) def test_raise_if_dead_does_not_raise_if_alive(server: Server) -> None: """Verify new_session() does not raise if tmux server is alive.""" > server.new_session() tests/test_server.py:218: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test0x2pcmar), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0x2pcmar'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_server_context_manager __________________________ TestServer = functools.partial(, on_init=.on_init at 0x7fffc51b8d60>, socket_name_factory=.socket_name_factory at 0x7fffc51baf20>) def test_server_context_manager(TestServer: type[Server]) -> None: """Test Server context manager functionality.""" with TestServer() as server: > session = server.new_session() ^^^^^^^^^^^^^^^^^^^^ tests/test_server.py:293: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testovuq_kts), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testovuq_kts'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_new_session_start_directory[none_value] _________________ test_id = 'none_value', start_directory = None description = 'None should not add -c flag' server = Server(socket_name=libtmux_test2z8ops1x) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc4fa8a60> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo0') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2z8ops1x), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2z8ops1x'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ________________ test_new_session_start_directory[empty_string] ________________ test_id = 'empty_string', start_directory = '' description = 'Empty string should not add -c flag' server = Server(socket_name=libtmux_testu9op4s82) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc4f74280> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo1') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu9op4s82), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu9op4s82'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________ test_new_session_start_directory[user_path] __________________ test_id = 'user_path', start_directory = '{user_path}' description = 'User path should add -c flag' server = Server(socket_name=libtmux_test6xun7oj0) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc4f99be0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo2') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test6xun7oj0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6xun7oj0'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________ test_new_session_start_directory[relative_path] ________________ test_id = 'relative_path', start_directory = './relative/path' description = 'Relative path should add -c flag' server = Server(socket_name=libtmux_test2j_0wobh) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc515f2a0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/test_new_session_start_directo3') user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') @pytest.mark.parametrize( list(StartDirectoryTestFixture._fields), START_DIRECTORY_TEST_FIXTURES, ids=[test.test_id for test in START_DIRECTORY_TEST_FIXTURES], ) def test_new_session_start_directory( test_id: str, start_directory: StrPath | None, description: str, server: Server, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path, user_path: pathlib.Path, ) -> None: """Test Server.new_session start_directory parameter handling.""" monkeypatch.chdir(tmp_path) # Format path placeholders with actual fixture values actual_start_directory = start_directory expected_path = None if start_directory and str(start_directory) not in {"", "None"}: if f"{user_path}" in str(start_directory): # Replace placeholder with actual user_path actual_start_directory = str(start_directory).format(user_path=user_path) expected_path = str(user_path) elif str(start_directory).startswith("./"): # For relative paths, use tmp_path as base temp_dir = tmp_path / "relative" / "path" temp_dir.mkdir(parents=True, exist_ok=True) actual_start_directory = str(temp_dir) expected_path = str(temp_dir.resolve()) # Should not raise an error > session = server.new_session( session_name=f"test_session_{test_id}", start_directory=actual_start_directory, ) /build/python-libtmux/src/libtmux-0.53.0/tests/test_server.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test2j_0wobh), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2j_0wobh'] /build/python-libtmux/src/libtmux-0.53.0/test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException ___________________ test_new_session_start_directory_pathlib ___________________ server = Server(socket_name=libtmux_test4zgmdc28) user_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/home0/builduser') def test_new_session_start_directory_pathlib( server: Server, user_path: pathlib.Path, ) -> None: """Test Server.new_session accepts pathlib.Path for start_directory.""" # Pass pathlib.Path directly to test pathlib.Path acceptance > session = server.new_session( session_name="test_pathlib_start_dir", start_directory=user_path, ) tests/test_server.py:392: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_test4zgmdc28), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4zgmdc28'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _______________________________ test_new_session _______________________________ server = Server(socket_name=libtmux_testgqi4ryz_) def test_new_session(server: Server) -> None: """Server.new_session creates new session.""" new_session_name = TEST_SESSION_PREFIX + next(namer) > new_session = server.new_session(session_name=new_session_name, detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testgqi4ryz_), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgqi4ryz_'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________ test_session_context_manager _________________________ server = Server(socket_name=libtmux_testvpwsd8_0) def test_session_context_manager(server: Server) -> None: """Test Session context manager functionality.""" > with server.new_session() as session: ^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testvpwsd8_0), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvpwsd8_0'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _ test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] _ server = Server(socket_name=libtmux_testu14nm_xa) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffc51448a0> test_id = 'session_killed_during_attach_should_not_raise', raises = False @pytest.mark.parametrize( list(SessionAttachRefreshFixture._fields), SESSION_ATTACH_REFRESH_FIXTURES, ids=[test.test_id for test in SESSION_ATTACH_REFRESH_FIXTURES], ) def test_session_attach_does_not_fail_if_session_killed_during_attach( server: Server, monkeypatch: pytest.MonkeyPatch, test_id: str, raises: type[Exception] | bool, ) -> None: """Regression test: Session.attach() should not fail if session is killed. When a user is attached to a tmux session via `tmuxp load`, then kills the session from within tmux (e.g., kills all windows), and then detaches, the attach() method should not raise an exception. Currently, attach() calls self.refresh() after attach-session returns, which fails with TmuxObjectDoesNotExist if the session no longer exists. The fix is to remove the refresh() call from attach() since: 1. attach-session is a blocking interactive command 2. Session state can change arbitrarily while the user is attached 3. Refreshing after such a command makes no semantic sense """ from libtmux.common import tmux_cmd # Create a new session specifically for this test > test_session = server.new_session(detach=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_session.py:546: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testu14nm_xa), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu14nm_xa'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException _________________________________ test_filter __________________________________ server = Server(socket_name=libtmux_testl9u38eyj) def test_filter(server: Server) -> None: """Test self.filter() retrieves child object.""" > sess = server.new_session("test") ^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_tmuxobject.py:162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_dir/usr/lib/python3.13/site-packages/libtmux/server.py:591: in new_session return Session.from_session_id( test_dir/usr/lib/python3.13/site-packages/libtmux/session.py:145: in from_session_id session = fetch_obj( test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:230: in fetch_obj obj_formatters_filtered = fetch_objs( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ server = Server(socket_name=libtmux_testl9u38eyj), list_cmd = 'list-sessions' list_extra_args = None def fetch_objs( server: Server, list_cmd: ListCmd, list_extra_args: ListExtraArgs = None, ) -> OutputsRaw: """Fetch a listing of raw data from a tmux command.""" formats = list(Obj.__dataclass_fields__.keys()) cmd_args: list[str | int] = [] if server.socket_name: cmd_args.insert(0, f"-L{server.socket_name}") if server.socket_path: cmd_args.insert(0, f"-S{server.socket_path}") tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats] tmux_cmds = [ *cmd_args, list_cmd, ] if list_extra_args is not None and isinstance(list_extra_args, Iterable): tmux_cmds.extend(list(list_extra_args)) tmux_cmds.append("-F{}".format("".join(tmux_formats))) proc = tmux_cmd(*tmux_cmds) # output if proc.stderr: > raise exc.LibTmuxException(proc.stderr) E libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testl9u38eyj'] test_dir/usr/lib/python3.13/site-packages/libtmux/neo.py:209: LibTmuxException =========================== short test summary info ============================ FAILED tests/legacy_api/test_session.py::test_kill_session_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9cixg2m4'] FAILED tests/test/test_random.py::test_get_test_session_name_loop_behavior - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9l2dhxp4'] FAILED tests/test/test_random.py::test_get_test_session_name_implementation_details - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_gzjcwb1'] FAILED tests/test/test_temporary.py::test_temp_session_creates_and_destroys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testc9st6alk'] FAILED tests/test/test_temporary.py::test_temp_session_with_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpjbe0ht1'] FAILED tests/test/test_temporary.py::test_temp_session_cleanup_on_exception - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlezpx4oc'] FAILED tests/test/test_temporary.py::test_temp_session_outside_context - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testw9qzb7oh'] FAILED tests/test_dataclasses.py::test_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3d1ya_8q'] FAILED tests/test_hooks.py::test_hooks_raw_cmd - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste7zc3x_k'] FAILED tests/test_hooks.py::test_hooks_dataclass - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzbux4502'] FAILED tests/test_hooks.py::test_hooks_mixin - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz5hld41y'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi5uys1c8'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsoayxrhl'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[alert_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgk1fnyjw'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_active] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjlysvxr8'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_attached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testegplna0b'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_detached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests1_gancz'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_in] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testngzaq20s'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_focus_out] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkacpb69s'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_resized] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4dlet613'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[client_session_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test618u579q'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_created] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbxov9_s8'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_closed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu2wl4xsz'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_renamed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_akpq5li'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_linked] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm38rul9h'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_renamed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtauvir3m'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_resized] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq7aynzud'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[window_unlinked] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testf5np4mr1'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[session_window_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq6tf25ju'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_died] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyk083qvg'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_exited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testniz_hu5y'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_in] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6yqpc9f_'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_focus_out] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm5xfo31t'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_mode_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk3nofrl7'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[pane_set_clipboard] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test42bre8hg'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_bind_key] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx2pntr4k'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_capture_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3rglcquh'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_copy_mode] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzudhm4g0'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_message] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_ys2u10i'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_display_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testemts3591'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_kill_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testflhxbj0a'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_buffers] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmlg35fh7'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_clients] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd1j4nv6w'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk5exgiz4'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvyforlm4'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_sessions] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm8jq_uix'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_list_windows] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq10ugvst'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_load_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0wudpx5z'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_lock_server] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz4ctd0be'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_session] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0fhk2elb'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_new_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testti9r1kj7'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_paste_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi81drfq5'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_pipe_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcstl6_e'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_queue] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0wc14n7_'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_refresh_client] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testljw23hvt'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_session] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv3mfd2iq'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_rename_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test16be_2sr'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkn8f0b6i'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_resize_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testnyjumrwh'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_save_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgd7q25mh'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_layout] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_87mzxyu'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_pane] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbirod7qj'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_select_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfgcl3rpj'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_send_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test1i20ebop'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_buffer] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyibuh_60'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_environment] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgown86ai'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_hook] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6ut5wi4j'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_set_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxw89z7bs'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_environment] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8ncx6wer'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_messages] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjrsop7z6'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_show_options] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqd7e3n1_'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_split_window] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdpcm_tj9'] FAILED tests/test_hooks.py::test_hook_set_show_unset_cycle[after_unbind_key] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdsw8re2i'] FAILED tests/test_hooks.py::test_new_hooks_version_gated[pane_title_changed] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testg1c3_5zb'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_with_dict] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzwy8lef0'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_with_list] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testovlkga02'] FAILED tests/test_hooks.py::test_set_hooks[set_hooks_clear_existing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3ra0mwl8'] FAILED tests/test_hooks.py::test_show_hook_returns_sparse_array - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcyf6ew09'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[index_zero-session-renamed-0-display-message 'test zero'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk17_qwop'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[index_five-session-renamed-5-display-message 'test five'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtegjw59n'] FAILED tests/test_hooks.py::test_show_hook_indexed_lookup[window_hook-window-renamed-0-display-message 'window test'] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx54i0o8v'] FAILED tests/test_hooks.py::test_set_hooks_with_sparse_array - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test42g6hzjl'] FAILED tests/test_hooks.py::test_set_hooks_method_chaining - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste5mc6h7t'] FAILED tests/test_hooks.py::test_unset_hook_clears_all_indices - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdhrcx0aw'] FAILED tests/test_hooks.py::test_set_hook_append_flag - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testga6_j74i'] FAILED tests/test_hooks.py::test_show_hooks_stores_string_values[string_hook_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbjem_cup'] FAILED tests/test_hooks.py::test_show_hooks_stores_string_values[multiple_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testl8bta36i'] FAILED tests/test_hooks.py::test_run_hook_basic - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcrmiyke'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[append_to_existing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjiwva18y'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[global_hook] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv1t_5am8'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[run_immediately] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testug6hpdz2'] FAILED tests/test_hooks.py::test_set_hook_flag_combinations[append_and_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv_7fmujh'] FAILED tests/test_hooks.py::test_hook_scope_handling[session_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4fbg5raq'] FAILED tests/test_hooks.py::test_hook_scope_handling[window_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjvao476r'] FAILED tests/test_hooks.py::test_hook_scope_handling[pane_scope] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgjimzd86'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[normal_hook_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk2t3veym'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_indexed_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd4axqtm8'] FAILED tests/test_hooks.py::test_show_hooks_parsing_edge_cases[multiple_different_hooks] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_2rvq0a1'] FAILED tests/test_hooks.py::test_show_hooks_empty_result - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd4a3trjx'] FAILED tests/test_options.py::test_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz30q6nce'] FAILED tests/test_options.py::test_options_server - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6kj01umn'] FAILED tests/test_options.py::test_options_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdvt8wzku'] FAILED tests/test_options.py::test_options_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfjven6w5'] FAILED tests/test_options.py::test_options_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtvgl_52d'] FAILED tests/test_options.py::test_options_grid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz6rthy3n'] FAILED tests/test_options.py::test_custom_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqe_3bnrv'] FAILED tests/test_options.py::test_show_option_pane_fixture[terminal-features] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhfyxm_ka'] FAILED tests/test_options.py::test_show_option_pane_fixture[command-alias] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testerc_i0hd'] FAILED tests/test_options.py::test_stable_baseline_options_and_hooks - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testb9g6awrt'] FAILED tests/test_options.py::test_complex_option_values - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_xcozw1q'] FAILED tests/test_options.py::test_style_option_validation - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx3pe1d2w'] FAILED tests/test_options.py::test_option_error_handling - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgksh4dub'] FAILED tests/test_options.py::test_option_set_show_cycle[server_buffer_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testegp2nyjk'] FAILED tests/test_options.py::test_option_set_show_cycle[server_escape_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9qhnerut'] FAILED tests/test_options.py::test_option_set_show_cycle[server_message_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testa1elhvnx'] FAILED tests/test_options.py::test_option_set_show_cycle[server_prompt_history_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0y8n6mch'] FAILED tests/test_options.py::test_option_set_show_cycle[server_exit_empty] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testudwpi4q8'] FAILED tests/test_options.py::test_option_set_show_cycle[server_exit_unattached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdrg948qn'] FAILED tests/test_options.py::test_option_set_show_cycle[server_focus_events] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7vnl2459'] FAILED tests/test_options.py::test_option_set_show_cycle[server_extended_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testle7py8qr'] FAILED tests/test_options.py::test_option_set_show_cycle[server_set_clipboard] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testac92mlxy'] FAILED tests/test_options.py::test_option_set_show_cycle[server_default_terminal] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvo2ukem0'] FAILED tests/test_options.py::test_option_set_show_cycle[server_editor] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvut2j8kp'] FAILED tests/test_options.py::test_option_set_show_cycle[session_base_index] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testakt69ji_'] FAILED tests/test_options.py::test_option_set_show_cycle[session_display_panes_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwtdyvps7'] FAILED tests/test_options.py::test_option_set_show_cycle[session_display_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlf1x3ged'] FAILED tests/test_options.py::test_option_set_show_cycle[session_history_limit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8ne5vfri'] FAILED tests/test_options.py::test_option_set_show_cycle[session_lock_after_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3tzc6mok'] FAILED tests/test_options.py::test_option_set_show_cycle[session_repeat_time] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcugm1kd6'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_interval] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests2wqygfj'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left_length] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd8zqlbf6'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right_length] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_utgqky0'] FAILED tests/test_options.py::test_option_set_show_cycle[session_destroy_unattached] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testn91zgal6'] FAILED tests/test_options.py::test_option_set_show_cycle[session_mouse] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testn0325bi6'] FAILED tests/test_options.py::test_option_set_show_cycle[session_renumber_windows] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testiec_2k7n'] FAILED tests/test_options.py::test_option_set_show_cycle[session_set_titles] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testab24wm68'] FAILED tests/test_options.py::test_option_set_show_cycle[session_activity_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testuwhca3sm'] FAILED tests/test_options.py::test_option_set_show_cycle[session_bell_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm8z0ida5'] FAILED tests/test_options.py::test_option_set_show_cycle[session_detach_on_destroy] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv4s5gizr'] FAILED tests/test_options.py::test_option_set_show_cycle[session_silence_action] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzvx60ukl'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_teste_ikncq2'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_justify] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyo6sk9n'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_position] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_i0u5btg'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test69x2azbo'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk7b51pco'] FAILED tests/test_options.py::test_option_set_show_cycle[session_visual_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7gx12jl4'] FAILED tests/test_options.py::test_option_set_show_cycle[session_default_command] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8jp1rtmy'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrswcbqkx'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_qyna18o'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcgh1vi4z'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_left_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrpoujy9i'] FAILED tests/test_options.py::test_option_set_show_cycle[session_status_right_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testchumjzyk'] FAILED tests/test_options.py::test_option_set_show_cycle[session_message_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testnz1kx6v8'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_base_index] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoc60x2dv'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_silence] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4s2lra31'] FAILED tests/test_options.py::test_option_set_show_cycle[window_aggressive_resize] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2jymwanz'] FAILED tests/test_options.py::test_option_set_show_cycle[window_automatic_rename] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcu5fh6tn'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_activity] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfc2_3nzm'] FAILED tests/test_options.py::test_option_set_show_cycle[window_monitor_bell] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testlh3tjbp4'] FAILED tests/test_options.py::test_option_set_show_cycle[window_wrap_search] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcq2xk5eb'] FAILED tests/test_options.py::test_option_set_show_cycle[window_clock_mode_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhrb85t_c'] FAILED tests/test_options.py::test_option_set_show_cycle[window_mode_keys] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcji8xako'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_status] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm2kfaop_'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_size] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtfap1j9l'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_format] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6gm8t45h'] FAILED tests/test_options.py::test_option_set_show_cycle[window_mode_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrtk1q38g'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_border_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwm46o5nz'] FAILED tests/test_options.py::test_option_set_show_cycle[window_pane_active_border_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test5ipyga7m'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_status_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbrhex1k7'] FAILED tests/test_options.py::test_option_set_show_cycle[window_window_status_current_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfwn_03cu'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_allow_rename] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testiu9vkqwz'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_alternate_screen] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testeg5423to'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_scroll_on_clear] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testhwrst903'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_synchronize_panes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr52vhde1'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_allow_passthrough] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxurkomy4'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_remain_on_exit] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9e04x_1u'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_window_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqsnt403l'] FAILED tests/test_options.py::test_option_set_show_cycle[pane_window_active_style] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6g4tqxfk'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[server_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr9z0hn4g'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[server_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testa6jyoc4u'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[session_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzm15a0qk'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[session_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd3m62vfg'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[window_global] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxoait65z'] FAILED tests/test_options.py::test_show_options_returns_expected_keys[window_global_inherited] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8i13rveb'] FAILED tests/test_pytest_plugin.py::test_plugin - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 0, 'errors': 1, 'xpassed': 0, 'xfailed': 0} == {'passed': 1, 'skipped': 0, 'failed': 0, 'errors': 0, 'xpassed': 0, 'xfailed': 0} Common items: {'failed': 0, 'skipped': 0, 'xfailed': 0, 'xpassed': 0} Differing items: {'errors': 1} != {'errors': 0} {'passed': 0} != {'passed': 1} Full diff: { - 'errors': 0, ? ^ + 'errors': 1, ? ^ 'failed': 0, - 'passed': 1, ? ^ + 'passed': 0, ? ^ 'skipped': 0, 'xfailed': 0, 'xpassed': 0, } FAILED tests/test_pytest_plugin.py::test_test_server - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyq0pxci'] FAILED tests/test_pytest_plugin.py::test_test_server_with_config - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwj2uci8_'] FAILED tests/test_pytest_plugin.py::test_test_server_cleanup - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testquzsec2y'] FAILED tests/test_pytest_plugin.py::test_test_server_multiple - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk1n0tv25'] FAILED tests/test_server.py::test_new_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwuponimr'] FAILED tests/test_server.py::test_new_session_no_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testja1wr0cy'] FAILED tests/test_server.py::test_new_session_shell - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3ftj251x'] FAILED tests/test_server.py::test_new_session_shell_env - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test80m7ogh1'] FAILED tests/test_server.py::test_new_session_environmental_variables - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9z71_uwo'] FAILED tests/test_server.py::test_with_server_is_alive - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbftyac6r'] FAILED tests/test_server.py::test_raise_if_dead_does_not_raise_if_alive - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0x2pcmar'] FAILED tests/test_server.py::test_server_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testovuq_kts'] FAILED tests/test_server.py::test_new_session_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2z8ops1x'] FAILED tests/test_server.py::test_new_session_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu9op4s82'] FAILED tests/test_server.py::test_new_session_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6xun7oj0'] FAILED tests/test_server.py::test_new_session_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2j_0wobh'] FAILED tests/test_server.py::test_new_session_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4zgmdc28'] FAILED tests/test_session.py::test_new_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgqi4ryz_'] FAILED tests/test_session.py::test_session_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvpwsd8_0'] FAILED tests/test_session.py::test_session_attach_does_not_fail_if_session_killed_during_attach[session_killed_during_attach_should_not_raise] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu14nm_xa'] FAILED tests/test_tmuxobject.py::test_filter - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testl9u38eyj'] ERROR tests/legacy_api/test_common.py::test_tmux_cmd_unicode - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcvlw14s8'] ERROR tests/legacy_api/test_pane.py::test_resize_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testy1htrb68'] ERROR tests/legacy_api/test_pane.py::test_select_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3zmnv6h9'] ERROR tests/legacy_api/test_pane.py::test_split_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtrp029io'] ERROR tests/legacy_api/test_pane.py::test_pane_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testozn4cqyj'] ERROR tests/legacy_api/test_pane.py::test_pane_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testc4zrxfe2'] ERROR tests/legacy_api/test_session.py::test_attached_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv1tn84hi'] ERROR tests/legacy_api/test_session.py::test_attached_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtoa06kdm'] ERROR tests/legacy_api/test_session.py::test_attach_session_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbjapgz70'] ERROR tests/legacy_api/test_session.py::test_session_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu2xa7kqo'] ERROR tests/legacy_api/test_session.py::test_session_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq0yukarj'] ERROR tests/legacy_api/test_session.py::test_session_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test5f32supz'] ERROR tests/legacy_api/test_session.py::test_session_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbnfg2ldh'] ERROR tests/legacy_api/test_session.py::test_session_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp3q4nyz7'] ERROR tests/legacy_api/test_session.py::test_session_list_windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu5wzfxm2'] ERROR tests/legacy_api/test_session.py::test_session_children_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests9743ye0'] ERROR tests/legacy_api/test_session.py::test_session__windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test19paowh3'] ERROR tests/legacy_api/test_session.py::test_session__list_windows_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2nxcf_7d'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4tz65r7o'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjfm1ivsh'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testqzwf5xim'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test2grwcad6'] ERROR tests/legacy_api/test_tmuxobject.py::test_session_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0p4rytho'] ERROR tests/legacy_api/test_tmuxobject.py::test_window_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmln8xghk'] ERROR tests/legacy_api/test_window.py::test_split_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbhd2zltq'] ERROR tests/legacy_api/test_window.py::test_attached_pane_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test38rmft_0'] ERROR tests/legacy_api/test_window.py::test_select_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test05sdn7ir'] ERROR tests/legacy_api/test_window.py::test_kill_window_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testexfdu24m'] ERROR tests/legacy_api/test_window.py::test_set_window_option_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyfgao_8v'] ERROR tests/legacy_api/test_window.py::test_show_window_options_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyjnirqpd'] ERROR tests/legacy_api/test_window.py::test_show_window_option_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3u5lm9cz'] ERROR tests/legacy_api/test_window.py::test_window_get_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpqtrascu'] ERROR tests/legacy_api/test_window.py::test_window_getitem_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpyhw1n8e'] ERROR tests/legacy_api/test_window.py::test_window_get_by_id_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrzkeucho'] ERROR tests/legacy_api/test_window.py::test_window_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmv0wc5p6'] ERROR tests/legacy_api/test_window.py::test_window_find_where_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcyx7am1r'] ERROR tests/legacy_api/test_window.py::test_window_list_panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjmo7lce3'] ERROR tests/legacy_api/test_window.py::test_window_children_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwmfrg17x'] ERROR tests/legacy_api/test_window.py::test_window__panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz8vet2op'] ERROR tests/legacy_api/test_window.py::test_window__list_panes_raises_deprecated_error - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test3to7c06i'] ERROR tests/test/test_random.py::test_get_test_window_name_doctest_examples - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testi4suykj5'] ERROR tests/test/test_random.py::test_get_test_window_name_default_prefix - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6txzw_ej'] ERROR tests/test/test_random.py::test_get_test_window_name_custom_prefix - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgxobys9k'] ERROR tests/test/test_random.py::test_get_test_window_name_loop_behavior - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testgum7t24x'] ERROR tests/test/test_random.py::test_collisions_with_real_objects - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkyiqu_vm'] ERROR tests/test/test_random.py::test_get_test_window_name_collision_handling - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test476g83zs'] ERROR tests/test/test_random.py::test_get_test_window_name_branch_coverage - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo0agt29r'] ERROR tests/test/test_temporary.py::test_temp_window_creates_and_destroys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6t8pra1c'] ERROR tests/test/test_temporary.py::test_temp_window_with_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu7fzlp_6'] ERROR tests/test/test_temporary.py::test_temp_window_cleanup_on_exception - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testj7wsbqm2'] ERROR tests/test/test_temporary.py::test_temp_window_outside_context - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzrn2vstw'] ERROR tests/test_common.py::test_tmux_cmd_unicode - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testm4ud1g7e'] ERROR tests/test_dataclasses.py::test_querylist - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq34uiec_'] ERROR tests/test_options.py::test_show_option_g_parameter_emits_deprecation_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjum5h6nd'] ERROR tests/test_options.py::test_show_option_indexed_array[indexed_returns_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testwy0bz8gn'] ERROR tests/test_options.py::test_show_option_indexed_array[base_name_returns_sparse_array] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testuasmzj3e'] ERROR tests/test_pane.py::test_send_keys - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsdj9i3nb'] ERROR tests/test_pane.py::test_set_height - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxqzywgd_'] ERROR tests/test_pane.py::test_set_width - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbm01gfu9'] ERROR tests/test_pane.py::test_capture_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp68tw4fj'] ERROR tests/test_pane.py::test_capture_pane_end - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testspe8b6an'] ERROR tests/test_pane.py::test_pane_split_window_zoom - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testy7gxmfut'] ERROR tests/test_pane.py::test_resize - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfj_c1aml'] ERROR tests/test_pane.py::test_split_pane_size - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testeq_a9ftn'] ERROR tests/test_pane.py::test_pane_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test091evsdh'] ERROR tests/test_pane.py::test_split_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpfzac6q2'] ERROR tests/test_pane.py::test_split_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrojivt6l'] ERROR tests/test_pane.py::test_split_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfanv_ijd'] ERROR tests/test_pane.py::test_split_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfw1_acv0'] ERROR tests/test_pane.py::test_split_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testz35kgaih'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_capture] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test7okl92z_'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[basic_multiline] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testr5l3yjak'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_red] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test18smzlp9'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_green] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxe71c5qu'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_bold] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmzwgxplf'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[no_escape_sequences] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpdz0l8y3'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_basic] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testfwql5ao4'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_non_printable_tab] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test1kmx7vih'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_long_line] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoa3c875e'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[join_wrapped_numbers] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testro6vit74'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[preserve_trailing_spaces] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testcybg8wdr'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[no_preserve_trailing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testomz9njkd'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[trim_trailing_basic] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtv6z12gq'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[escape_sequences_with_join] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsdmyvax3'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[join_with_preserve_trailing] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmfd0ys_n'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_flags[all_flags_except_trim] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyfjxvq69'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_backward_compatible - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv7m0_qui'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_start_end_with_flags - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo03ih8bd'] ERROR tests/test_pane_capture_pane.py::test_capture_pane_trim_trailing_warning - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testo2ry68gx'] ERROR tests/test_server.py::test_has_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testpt3eri4a'] ERROR tests/test_server.py::test_getenv - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testolsxwbym'] ERROR tests/test_session.py::test_has_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbcvzh807'] ERROR tests/test_session.py::test_select_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test0uvr6wyh'] ERROR tests/test_session.py::test_select_window_returns_Window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test17uorgje'] ERROR tests/test_session.py::test_active_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9zbxmu4e'] ERROR tests/test_session.py::test_active_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testdxa2s_49'] ERROR tests/test_session.py::test_session_rename - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzyba48p1'] ERROR tests/test_session.py::test_show_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbps3nx50'] ERROR tests/test_session.py::test_set_show_options_single - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testx64toe91'] ERROR tests/test_session.py::test_set_show_option - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmydn8abk'] ERROR tests/test_session.py::test_empty_session_option_returns_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testb2khrqxi'] ERROR tests/test_session.py::test_show_option_unknown - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testogsluvj9'] ERROR tests/test_session.py::test_show_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzwy8hu2q'] ERROR tests/test_session.py::test_set_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtm4a1s8c'] ERROR tests/test_session.py::test_set_option_invalid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4h_uqo2a'] ERROR tests/test_session.py::test_show_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkcjn2y9h'] ERROR tests/test_session.py::test_set_show_environment_single - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtjnecsi4'] ERROR tests/test_session.py::test_show_environment_not_set - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testk4via8e0'] ERROR tests/test_session.py::test_remove_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test07e5o4yc'] ERROR tests/test_session.py::test_unset_environment - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testjf6ih5w4'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[period_in_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testunj69s8c'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[colon_in_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9_1oi3kz'] ERROR tests/test_session.py::test_periods_raise_bad_session_name[valid_name] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_9qp3nga'] ERROR tests/test_session.py::test_cmd_inserts_session_id - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testbzywcvts'] ERROR tests/test_session.py::test_new_window_with_environment[single_env_var] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4l9zjcmw'] ERROR tests/test_session.py::test_new_window_with_environment[multiple_env_vars] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testh3lr5qzs'] ERROR tests/test_session.py::test_session_new_window_with_direction - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testoudi0wrf'] ERROR tests/test_session.py::test_new_window_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6vkhq9pt'] ERROR tests/test_session.py::test_new_window_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test8e_d2am1'] ERROR tests/test_session.py::test_new_window_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd2pj71af'] ERROR tests/test_session.py::test_new_window_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testh4951l0e'] ERROR tests/test_session.py::test_new_window_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvimjzxwt'] ERROR tests/test_tmuxobject.py::test_find_where - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testu32ts48y'] ERROR tests/test_tmuxobject.py::test_find_where_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testzc6tnrj_'] ERROR tests/test_tmuxobject.py::test_find_where_multiple_infos - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testg82q6ouh'] ERROR tests/test_tmuxobject.py::test_where - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test_ag9r15m'] ERROR tests/test_window.py::test_select_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd9wtz3sx'] ERROR tests/test_window.py::test_fresh_window_data - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testho6lerf_'] ERROR tests/test_window.py::test_newest_pane_data - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test958hlw6y'] ERROR tests/test_window.py::test_active_pane - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test657u89rp'] ERROR tests/test_window.py::test_split - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_tests8j3ihzy'] ERROR tests/test_window.py::test_split_shell - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtbdm8e9w'] ERROR tests/test_window.py::test_split_horizontal - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmu3avshf'] ERROR tests/test_window.py::test_split_size - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv3f70q4a'] ERROR tests/test_window.py::test_window_rename[rename_with_spaces] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testia10_gbn'] ERROR tests/test_window.py::test_window_rename[rename_with_escapes] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq8jz3snt'] ERROR tests/test_window.py::test_kill_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testotx3uin_'] ERROR tests/test_window.py::test_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testq0f6_eub'] ERROR tests/test_window.py::test_set_window_and_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testd5ukvz4q'] ERROR tests/test_window.py::test_set_and_show_window_options - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp7k6t01o'] ERROR tests/test_window.py::test_empty_window_option_returns_None - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkzfmngh4'] ERROR tests/test_window.py::test_show_window_option - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4kr8yqn0'] ERROR tests/test_window.py::test_show_window_option_unknown - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testp82wdgzq'] ERROR tests/test_window.py::test_show_window_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testsbxo1ru6'] ERROR tests/test_window.py::test_set_window_option_ambiguous - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testxmqh4i9k'] ERROR tests/test_window.py::test_set_window_option_invalid - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testrt4fojbx'] ERROR tests/test_window.py::test_move_window - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testf21846v9'] ERROR tests/test_window.py::test_move_window_to_other_session - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testtf_wonvk'] ERROR tests/test_window.py::test_select_layout_accepts_no_arg - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testys4n5e_7'] ERROR tests/test_window.py::test_empty_window_name - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testv9u6z_jd'] ERROR tests/test_window.py::test_split_with_environment[single_env_var] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test6l_0j8nm'] ERROR tests/test_window.py::test_split_with_environment[multiple_env_vars] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testvknh4wpg'] ERROR tests/test_window.py::test_split_window_zoom - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testyz0pta3g'] ERROR tests/test_window.py::test_resize - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test97ndvzx8'] ERROR tests/test_window.py::test_new_window_with_direction - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testt3xd4pwi'] ERROR tests/test_window.py::test_window_context_manager - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmdr814sh'] ERROR tests/test_window.py::test_split_start_directory[none_value] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test780qx56n'] ERROR tests/test_window.py::test_split_start_directory[empty_string] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmt53g8yh'] ERROR tests/test_window.py::test_split_start_directory[user_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test4nami0bo'] ERROR tests/test_window.py::test_split_start_directory[relative_path] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testmtq7hwe3'] ERROR tests/test_window.py::test_split_start_directory_pathlib - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkzhiru9b'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[set_window_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testig5vtmok'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_options] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_test9014xged'] ERROR tests/test_window.py::test_deprecated_window_methods_emit_warning[show_window_option] - libtmux.exc.LibTmuxException: ['no server running on /tmp/tmux-1000/libtmux_testkx8zn3wl'] = 206 failed, 238 passed, 1 skipped, 1 deselected, 164 errors in 773.82s (0:12:53) = ==> ERROR: A failure occurred in check(). Aborting... ]3008;end=ae2a49d41bfe4d83848ebceead19ced5\==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list python-libtmux-0.53.0-1-riscv64-build.log python-libtmux-0.53.0-1-riscv64-check.log sent 62 bytes received 45,479 bytes 30,360.67 bytes/sec total size is 1,216,578 speedup is 26.71