Bug#908684: python-click-plugins FTBFS with python-click 6.7+git20180829-1
Adrian Bunk
bunk at debian.org
Wed Sep 12 15:47:09 BST 2018
Source: python-click-plugins
Version: 1.0.2-3
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-click-plugins.html
...
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /build/1st/python-click-plugins-1.0.2, inifile:
collected 5 items
tests/test_plugins.py ...F. [100%]
=================================== FAILURES ===================================
_______________________________ test_group_chain _______________________________
runner = <click.testing.CliRunner object at 0x7fb233061090>
def test_group_chain(runner):
# Attach a sub-group to a CLI and get execute it without arguments to make
# sure both the sub-group and all the parent group's commands are present
@good_cli.group()
def sub_cli():
"""Sub CLI."""
pass
result = runner.invoke(good_cli)
assert result.exit_code is 0
assert sub_cli.name in result.output
for ep in iter_entry_points('_test_click_plugins.test_plugins'):
assert ep.name in result.output
# Same as above but the sub-group has plugins
@with_plugins(plugins=iter_entry_points('_test_click_plugins.test_plugins'))
@good_cli.group()
def sub_cli_plugins():
"""Sub CLI with plugins."""
pass
result = runner.invoke(good_cli, ['sub_cli_plugins'])
> assert result.exit_code is 0
E assert 2 is 0
E + where 2 = <Result SystemExit(2,)>.exit_code
tests/test_plugins.py:124: AssertionError
====================== 1 failed, 4 passed in 0.23 seconds ======================
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /build/1st/python-click-plugins-1.0.2/.pybuild/cpython2_2.7_click-plugins/build; python2.7 -m pytest tests
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:14: build] Error 25
More information about the Pkg-grass-devel
mailing list