Source: mopidy-scrobbler
Version: 1.1.1-3
Severity: serious
Tags: buster sid

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

...
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: cd 
/build/1st/mopidy-scrobbler-1.1.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m 
pytest /build/1st/mopidy-scrobbler-1.1.1/tests/
============================= test session starts ==============================
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /build/1st/mopidy-scrobbler-1.1.1, inifile:
collected 14 items

../../../tests/test_extension.py ...                                     [ 21%]
../../../tests/test_frontend.py .....F..F..                              [100%]

=================================== FAILURES ===================================
_________ FrontendTest.test_track_playback_ended_catches_pylast_error __________

self = <tests.test_frontend.FrontendTest 
testMethod=test_track_playback_ended_catches_pylast_error>
pylast_mock = <NonCallableMagicMock name='pylast' spec='module' 
id='140531804615120'>

    def test_track_playback_ended_catches_pylast_error(self, pylast_mock):
        self.frontend.lastfm = mock.Mock(spec=pylast.LastFMNetwork)
>       pylast_mock.ScrobblingError = pylast.ScrobblingError
E       AttributeError: 'module' object has no attribute 'ScrobblingError'

../../../tests/test_frontend.py:163: AttributeError
________ FrontendTest.test_track_playback_started_catches_pylast_error _________

self = <tests.test_frontend.FrontendTest 
testMethod=test_track_playback_started_catches_pylast_error>
pylast_mock = <NonCallableMagicMock name='pylast' spec='module' 
id='140531804847376'>

    def test_track_playback_started_catches_pylast_error(self, pylast_mock):
        self.frontend.lastfm = mock.Mock(spec=pylast.LastFMNetwork)
>       pylast_mock.ScrobblingError = pylast.ScrobblingError
E       AttributeError: 'module' object has no attribute 'ScrobblingError'

../../../tests/test_frontend.py:84: AttributeError
===================== 2 failed, 12 passed in 0.54 seconds ======================
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd 
/build/1st/mopidy-scrobbler-1.1.1/.pybuild/pythonX.Y_2.7/build; python2.7 -m 
pytest {dir}/tests/
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:10: build] Error 25

Reply via email to