Commit 8af04533 authored by André Anjos's avatar André Anjos 💬

Merge branch 'click' into 'master'

Update for click 7 upgrade

See merge request !98
parents 7dd99ca7 1f1b1d98
Pipeline #29426 failed with stages
in 23 minutes and 18 seconds
......@@ -162,7 +162,7 @@ def test_prefix_aliasing():
def test():
click.echo("OK")
@cli.command()
@cli.command(name='test-aaa')
def test_aaa():
click.echo("AAA")
......@@ -174,7 +174,7 @@ def test_prefix_aliasing():
assert result.exit_code == 0, (result.exit_code, result.output)
assert 'OK' in result.output, (result.exit_code, result.output)
result = runner.invoke(cli, ['test_a'], catch_exceptions=False)
result = runner.invoke(cli, ['test-a'], catch_exceptions=False)
assert result.exit_code == 0, (result.exit_code, result.output)
assert 'AAA' in result.output, (result.exit_code, result.output)
......
......@@ -22,11 +22,13 @@ requirements:
host:
- python {{ python }}
- setuptools {{ setuptools }}
- click {{ click }}
- click-plugins {{ click_plugins }}
run:
- python
- setuptools
- click
- click-plugins
- {{ pin_compatible('click') }}
- {{ pin_compatible('click-plugins') }}
test:
imports:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment