File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
tests/fixtures/pluginsystem/partials Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ """Fixtures for tmuxp plugins for libtmux version exceptions."""
12import typing as t
23
34from .test_plugin_helpers import MyTestTmuxpPlugin
78
89
910class LibtmuxVersionFailMinPlugin (MyTestTmuxpPlugin ):
11+ """Tmuxp plugin that fails when libtmux below minimum version constraint."""
12+
1013 def __init__ (self ) -> None :
1114 config : "PluginTestConfigSchema" = {
1215 "plugin_name" : "libtmux-min-version-fail" ,
@@ -17,6 +20,8 @@ def __init__(self) -> None:
1720
1821
1922class LibtmuxVersionFailMaxPlugin (MyTestTmuxpPlugin ):
23+ """Tmuxp plugin that fails when libtmux above maximum version constraint."""
24+
2025 def __init__ (self ) -> None :
2126 config : "PluginTestConfigSchema" = {
2227 "plugin_name" : "libtmux-max-version-fail" ,
@@ -27,6 +32,8 @@ def __init__(self) -> None:
2732
2833
2934class LibtmuxVersionFailIncompatiblePlugin (MyTestTmuxpPlugin ):
35+ """Tmuxp plugin that fails when libtmux version constraint is invalid."""
36+
3037 def __init__ (self ) -> None :
3138 config : "PluginTestConfigSchema" = {
3239 "plugin_name" : "libtmux-incompatible-version-fail" ,
You can’t perform that action at this time.
0 commit comments