Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with click 7 #2

Closed
jayvdb opened this issue Aug 6, 2019 · 0 comments · Fixed by #3
Closed

Broken with click 7 #2

jayvdb opened this issue Aug 6, 2019 · 0 comments · Fixed by #3

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Aug 6, 2019

https://travis-ci.org/jayvdb/click-aliases/jobs/568251511

runner = <click.testing.CliRunner object at 0x7fb65f97a550>
    def test_cli(runner):
        result = runner.invoke(cli)
>       assert result.output == TEST_CLI
E       AssertionError: assert 'Usage: cli [... ship (boat)\n' == 'Usage: cli [O...ages ships.\n'
E         Skipping 116 identical leading characters in diff, use -v to show
E         - ine (bomb)
E         -   ship (boat)
E         + ine (bomb)  Manages mines.
E         +   ship (boat)  Manages ships.
tests/test_naval.py:88: AssertionError

________________________________ test_ship_help ________________________________
runner = <click.testing.CliRunner object at 0x7fb65f97b110>

    def test_ship_help(runner):
        for cmd in ['ship', 'boat']:
            result = runner.invoke(cli, [cmd])
>           assert result.output == TEST_SHIP_HELP.format(cmd=cmd)
E           AssertionError: assert 'Usage: cli s...shoot (fire)\n' == 'Usage: cli sh...ire to X,Y.\n'
E             Skipping 134 identical leading characters in diff, use -v to show
E             - ,navigate)
E             -   new (add,build,create)
E             -   shoot (fire)
E             + ,navigate)   Moves SHIP to the new location X,Y.
E             +   new (add,build,create)  Creates a new ship.
E             +   shoot (fire)            Makes SHIP fire to X,Y.
@jayvdb jayvdb mentioned this issue Aug 6, 2019
landonb pushed a commit to landonb/click-hotoffthehamster-alias that referenced this issue Mar 28, 2020
- Cherry picked from upstream:

    click-contrib/click-aliases.git 0352616 2019-08-06

      Add click 7 support

      Closes click-contrib#2
landonb pushed a commit to landonb/click-hotoffthehamster-alias that referenced this issue Mar 28, 2020
- Cherry picked from upstream:

    click-contrib/click-aliases.git 0352616 2019-08-06

      Add click 7 support

      Closes click-contrib#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant