Skip to content
Myr

fix spelling

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

authored by Sławek Ehlert · committed by Sławek Ehlert · parent 8e2e583 · 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

  • tests:+2 added−2 removed

1 file+2 added−2 removed

modified:tests/test_options.py+2 added-2 removed
220 unmodified lines
221222def test_argument_custom_class(runner):223 class CustomArgument(click.Argument):224 def get_default(self, ctx):225 '''a dumb ovverride of a default value for testing'''225 '''a dumb override of a default value for testing'''226 return 'I am a default'227228 @click.command()229 @click.argument('testarg', cls=CustomArgument, default='you wont see me')
7 unmodified lines
237238def test_option_custom_class(runner):239 class CustomOption(click.Option):240 def get_help_record(self, ctx):241 '''a dumb ovverride of a help text for testing'''241 '''a dumb override of a help text for testing'''242 return ('--help', 'I am a help text')243244 @click.command()245 @click.option('--testoption', cls=CustomOption, help='you wont see me')
6 unmodified lines