You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/tmuxp/files/tmuxp-1.7.0-tests.patch

16 lines
479 B

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