We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfacef5 commit 370f477Copy full SHA for 370f477
cwltest/plugin.py
@@ -33,6 +33,7 @@
33
from _pytest.config import PytestPluginManager
34
from _pytest.config.argparsing import Parser as PytestParser
35
from _pytest.nodes import Node
36
+ from pluggy import HookCaller
37
38
39
class TestRunner(Protocol):
@@ -58,7 +59,7 @@ def _get_comma_separated_option(config: "Config", name: str) -> List[str]:
58
59
def _run_test_hook_or_plain(
60
test: Dict[str, str],
61
config: utils.CWLTestConfig,
- hook: TestRunner,
62
+ hook: "HookCaller",
63
) -> utils.TestResult:
64
"""Run tests using a provided pytest_cwl_execute_test hook or the --cwl-runner."""
65
processfile, jobfile = utils.prepare_test_paths(test, config.basedir)
0 commit comments