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 , exc
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 ,
@@ -953,3 +954,22 @@ def test_ls_cli(monkeypatch, tmpdir):
953
954
runner = CliRunner ()
954
955
cli_output = runner .invoke (command_ls ).output
955
956
assert cli_output == '\n ' .join (stems ) + '\n '
957
+
958
+
959
+ def test_debug_info_cli ():
960
+ runner = CliRunner ()
961
+ cli_output = runner .invoke (command_debug_info ).output
962
+ assert 'environment' in cli_output
963
+ assert 'python version' in cli_output
964
+ assert 'system PATH' in cli_output
965
+ assert 'tmux version' in cli_output
966
+ assert 'libtmux version' in cli_output
967
+ assert 'tmuxp version' in cli_output
968
+ assert 'tmux path' in cli_output
969
+ assert 'tmuxp path' in cli_output
970
+ assert 'shell' in cli_output
971
+ assert 'tmux session' in cli_output
972
+ assert 'tmux windows' in cli_output
973
+ assert 'tmux panes' in cli_output
974
+ assert 'tmux global options' in cli_output
975
+ assert 'tmux window options' in cli_output
You can’t perform that action at this time.
0 commit comments