Skip to content
Myr

Add description

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kevin Deldycke · committed by Kevin Deldycke · parent e9e5002 · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Refs: https://github.com/pallets/click/pull/3030#discussion_r2289215719

Diff stats

1 file+5 added−1 removed

  • tests:+5 added−1 removed

1 file+5 added−1 removed

modified:tests/test_termui.py+5 added-1 removed
644 unmodified lines
645)646def test_flag_value_prompt(647 runner, opt_decls, opt_params, args, prompt, input, expected648):649 """Covers concerns raised in issue https://github.com/pallets/click/issues/1992."""649 """Check how flag value are prompted and handled by all combinations of650 ``prompt``, ``default``, and ``flag_value`` parameters.651652 Covers concerns raised in issue https://github.com/pallets/click/issues/1992.653 """654655 @click.command()656 @click.option(opt_decls, **opt_params)657 def cli(flag):658 click.echo(repr(flag))
28 unmodified lines