[Python-modules-team] Bug#795393: celery: FTBFS: typos in method calls
Dmitry Shachnev
mitya57 at debian.org
Thu Aug 13 15:55:08 UTC 2015
Source: celery
Version: 3.1.18-1
Severity: serious
Justification: fails to build from source
celery FTBFS in current sid:
======================================================================
ERROR: test_on_chord_part_return (celery.tests.backends.test_redis.test_RedisBackend)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/tmp/buildd/celery-3.1.18/celery/tests/backends/test_redis.py", line 254, in test_on_chord_part_return
b.client.expire.assert_called_witeh(gkey, 86400)
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
raise AttributeError(name)
AttributeError: assert_called_witeh
======================================================================
ERROR: test_send (celery.tests.utils.test_mail.test_Mailer)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/tmp/buildd/celery-3.1.18/celery/tests/utils/test_mail.py", line 49, in test_send
client.sendmail.assert_called_With(msg.sender, msg.to, str(msg))
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
raise AttributeError(name)
AttributeError: assert_called_With
----------------------------------------------------------------------
Ran 1693 tests in 32.293s
FAILED (errors=2, skipped=44)
debian/rules:26: recipe for target 'override_dh_auto_test' failed
These look like typos in method name (assert_called_with).
The full build log can be found at:
http://mitya57.me/builds/celery_3.1.18-1_amd64.build
--
Dmitry Shachnev
More information about the Python-modules-team
mailing list