File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 16
16
from tmuxp import cli , config
17
17
from tmuxp .cli import (
18
18
command_ls ,
19
+ command_debug_info ,
19
20
get_config_dir ,
20
21
is_pure_name ,
21
22
load_workspace ,
@@ -932,3 +933,22 @@ def test_ls_cli(monkeypatch, tmpdir):
932
933
runner = CliRunner ()
933
934
cli_output = runner .invoke (command_ls ).output
934
935
assert cli_output == '\n ' .join (stems ) + '\n '
936
+
937
+
938
+ def test_debug_info_cli ():
939
+ runner = CliRunner ()
940
+ cli_output = runner .invoke (command_debug_info ).output
941
+ assert 'environment' in cli_output
942
+ assert 'python version' in cli_output
943
+ assert 'system PATH' in cli_output
944
+ assert 'tmux version' in cli_output
945
+ assert 'libtmux version' in cli_output
946
+ assert 'tmuxp version' in cli_output
947
+ assert 'tmux path' in cli_output
948
+ assert 'tmuxp path' in cli_output
949
+ assert 'shell' in cli_output
950
+ assert 'tmux session' in cli_output
951
+ assert 'tmux windows' in cli_output
952
+ assert 'tmux panes' in cli_output
953
+ assert 'tmux global options' in cli_output
954
+ assert 'tmux window options' in cli_output
You can’t perform that action at this time.
0 commit comments