(runner, shell, env, expect)
| 367 | ) |
| 368 | @pytest.mark.usefixtures("_patch_for_completion") |
| 369 | def test_full_complete(runner, shell, env, expect): |
| 370 | cli = Group("cli", commands=[Command("a"), Command("b", help="bee")]) |
| 371 | env["_CLI_COMPLETE"] = f"{shell}_complete" |
| 372 | result = runner.invoke(cli, env=env) |
| 373 | assert result.output == expect |
| 374 | |
| 375 | |
| 376 | def test_source_uses_lf_line_endings(monkeypatch): |