1515import click
1616import kaptan
1717from click .testing import CliRunner
18- from tmuxp_test_plugin_bwb .plugin import PluginBeforeWorkspaceBuilder
1918
2019import libtmux
2120from libtmux .common import has_lt_version
2221from libtmux .exc import LibTmuxException
2322from tmuxp import cli , config , exc
2423from tmuxp .cli import (
25- _reattach ,
26- _load_attached ,
2724 _load_append_windows_to_current_session ,
25+ _load_attached ,
26+ _reattach ,
2827 command_debug_info ,
2928 command_ls ,
3029 get_config_dir ,
@@ -996,6 +995,8 @@ def test_ls_cli(monkeypatch, tmpdir):
996995
997996
998997def test_load_plugins ():
998+ from tmuxp_test_plugin_bwb .plugin import PluginBeforeWorkspaceBuilder
999+
9991000 plugins_config = loadfixture ("workspacebuilder/plugin_bwb.yaml" )
10001001
10011002 sconfig = kaptan .Kaptan (handler = 'yaml' )
@@ -1174,6 +1175,7 @@ def test_load_attached_within_tmux_detached(server, monkeypatch):
11741175
11751176 assert builder .session .switch_client .call_count == 1
11761177
1178+
11771179def test_load_append_windows_to_current_session (server , monkeypatch ):
11781180 yaml_config = loadfixture ("workspacebuilder/two_pane.yaml" )
11791181 sconfig = kaptan .Kaptan (handler = 'yaml' )
@@ -1195,7 +1197,6 @@ def test_load_append_windows_to_current_session(server, monkeypatch):
11951197 assert len (server ._list_windows ()) == 6
11961198
11971199
1198-
11991200def test_debug_info_cli (monkeypatch , tmpdir ):
12001201 monkeypatch .setenv ('SHELL' , '/bin/bash' )
12011202
0 commit comments