MCPcopy
hub / github.com/pallets/click / test_full_source

Function test_full_source

tests/test_shell_completion.py:350–353  ·  view source on GitHub ↗
(runner, shell)

Source from the content-addressed store, hash-verified

348@pytest.mark.parametrize("shell", ["bash", "zsh", "fish"])
349@pytest.mark.usefixtures("_patch_for_completion")
350def test_full_source(runner, shell):
351 cli = Group("cli", commands=[Command("a"), Command("b")])
352 result = runner.invoke(cli, env={"_CLI_COMPLETE": f"{shell}_source"})
353 assert f"_CLI_COMPLETE={shell}_complete" in result.output
354
355
356@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

GroupClass · 0.90
CommandClass · 0.90
invokeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…