Skip to content

Tests fail on openSUSE Leap 15.1 Python 3 #5

Open
@jayvdb

Description

@jayvdb

All of the tests are failing on openSUSE Leap Python 3 , but not on openSUSE Tumbleweed or openSUSE Leap Python 2.

This could be an issue with a specific version of click, or could be the pytest version being used. I'll dig into it, but dont want it to slip away, hence raising the issue.

...
[   12s] [130/160] cumulate python3-click-6.7-lp151.3.2
...
[   41s] ============================= test session starts ==============================
[   41s] platform linux -- Python 3.6.5, pytest-3.10.1, py-1.5.2, pluggy-0.8.0
[   41s] rootdir: /home/abuild/rpmbuild/BUILD/click-aliases-1.0.1, inifile:
[   41s] collected 9 items
[   41s] 
[   41s] tests/test_basic.py FFF
[   41s] tests/test_foobar.py FFF
[   41s] tests/test_naval.py FFF
[   41s] 
[   41s] =================================== FAILURES ===================================
[   41s] __________________________________ test_help ___________________________________
[   41s] 
[   41s] runner = <click.testing.CliRunner object at 0x7f4dc3dbbef0>
[   41s] 
[   41s]     def test_help(runner):
[   41s]         result = runner.invoke(cli)
[   41s] >       assert result.output == TEST_HELP
[   41s] E       AssertionError: assert '' == 'Usage: cli [OPTIONS] COMMAN...exit.\n\nCommands:\n  foo\n'
[   41s] E         + Usage: cli [OPTIONS] COMMAND [ARGS]...
[   41s] E         + 
[   41s] E         + Options:
[   41s] E         +   --help  Show this message and exit.
[   41s] E         + 
[   41s] E         + Commands:
[   41s] E         +   foo
[   41s] 
[   41s] tests/test_basic.py:36: AssertionError
...

https://build.opensuse.org/package/show/home:jayvdb:py-new/python-click-aliases

click-aliases-leap.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions