Source: todoman
Version: 3.4.0-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/todoman.html

...
I: pybuild base:217: cd /build/1st/todoman-3.4.0/.pybuild/cpython3_3.7/build; 
python3.7 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.7.0+, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /build/1st/todoman-3.4.0, inifile: setup.cfg
plugins: cov-2.5.1, hypothesis-3.44.1
collected 176 items

tests/test_backend.py .........                                          [  5%]
tests/test_cli.py FFFFFFFFFFFFFxFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFs. [ 35%]
..FFFFFFFFF                                                              [ 42%]
tests/test_config.py FFFFF.FxxFFF...                                     [ 50%]
tests/test_filtering.py FFFFF..F.                                        [ 55%]
tests/test_formatter.py FFFF....F......                                  [ 64%]
tests/test_main.py .                                                     [ 64%]
tests/test_model.py ............ss..ss................                   [ 84%]
tests/test_porcelain.py FFFF....                                         [ 88%]
tests/test_ui.py ...........                                             [ 94%]
tests/test_widgets.py .........                                          [100%]

=================================== FAILURES ===================================
__________________________________ test_list ___________________________________

tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-0/test_list0')
runner = <conftest.runner.<locals>.SleepyCliRunner object at 0x7f4bb2307160>
create = <function create.<locals>.inner at 0x7f4bb1f8d488>

    def test_list(tmpdir, runner, create):
>       result = runner.invoke(cli, ['list'], catch_exceptions=False)

tests/test_cli.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:47: in invoke
    return super().invoke(*args, **kwargs)
/usr/lib/python3/dist-packages/click/testing.py:326: in invoke
    cli.main(args=args or (), prog_name=prog_name, **extra)
/usr/lib/python3/dist-packages/click/core.py:714: in main
    rv = self.invoke(ctx)
/usr/lib/python3/dist-packages/click/core.py:1129: in invoke
    Command.invoke(self, ctx)
/usr/lib/python3/dist-packages/click/core.py:951: in invoke
    return ctx.invoke(self.callback, **ctx.params)
/usr/lib/python3/dist-packages/click/core.py:552: in invoke
    return callback(*args, **kwargs)
/usr/lib/python3/dist-packages/click/decorators.py:17: in new_func
    return f(get_current_context(), *args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

a = (<click.core.Context object at 0x7f4bb1a72c50>,)
kw = {'colour': None, 'humanize': None, 'porcelain': False}

    @functools.wraps(f)
    def wrapper(*a, **kw):
        with handle_error():
>           return f(*a, **kw)
E           TypeError: cli() got an unexpected keyword argument 'colour'

todoman/cli.py:34: TypeError
...
========= 84 failed, 84 passed, 5 skipped, 3 xfailed in 13.47 seconds ==========
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/build/1st/todoman-3.4.0/.pybuild/cpython3_3.7/build; python3.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" 
returned exit code 13
make: *** [debian/rules:28: build] Error 25

Reply via email to