Skip to content
Myr

docs: testing.rst function def missing colon

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

authored by gutianci · committed by gutianci · parent fd3fca2 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/testing.rst+2 added-2 removed
418 unmodified lines
419 import click420421 @app.cli.command('hello')422 @click.option('--name', default='World')423 def hello_command(name)423 def hello_command(name):424 click.echo(f'Hello, {name}!')425426 def test_hello():427 runner = app.test_cli_runner()
18 unmodified lines
446 return value.upper()447448 @app.cli.command('hello')449 @click.option('--name', default='World', callback=upper)450 def hello_command(name)450 def hello_command(name):451 click.echo(f'Hello, {name}!')452453 def test_hello_params():454 context = hello_command.make_context('hello', ['--name', 'flask'])
4 unmodified lines