summaryrefslogtreecommitdiff
path: root/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch')
-rw-r--r--app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch b/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
new file mode 100644
index 000000000000..6b51e4de8ce4
--- /dev/null
+++ b/app-misc/tmuxp/files/tmuxp-1.7.2-tests.patch
@@ -0,0 +1,14 @@
+diff --git a/tests/test_cli.py b/tests/test_cli.py
+index bfd2345..f55910c 100644
+--- a/tests/test_cli.py
++++ b/tests/test_cli.py
+@@ -16,6 +16,9 @@ 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()])
+ import libtmux
+ from libtmux.common import has_lt_version
+ from libtmux.exc import LibTmuxException