diff options
Diffstat (limited to 'app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch')
-rw-r--r-- | app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch b/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch new file mode 100644 index 000000000000..9be2392557b1 --- /dev/null +++ b/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch @@ -0,0 +1,15 @@ +diff --git a/tests/test_cli.py b/tests/test_cli.py +index e5a7f93..de132db 100644 +--- a/tests/test_cli.py ++++ b/tests/test_cli.py +@@ -15,6 +15,10 @@ import pytest + import click + import kaptan + from click.testing import CliRunner ++ ++import sys ++import pathlib ++sys.path.extend([str(p) for p in pathlib.Path(__file__, '..', 'fixtures/pluginsystem/plugins').resolve().iterdir() if p.is_dir()]) + from tmuxp_test_plugin_bwb.plugin import PluginBeforeWorkspaceBuilder + + import libtmux |