[Python-modules-team] Bug#972153: python-fakeredis autopkg test fails

Matthias Klose doko at debian.org
Tue Oct 13 12:46:50 BST 2020


Package: src:python-fakeredis
Version: 1.4.3-1
Severity: serious
Tags: sid bullseye

python-fakeredis autopkg test fails. missing test dependency?


[...]
test/test_fakeredis.py::test_lastsave[FakeStrictRedis] PASSED            [ 67%]
test/test_fakeredis.py::test_time[FakeStrictRedis] ERROR                 [ 67%]

==================================== ERRORS ====================================
_________________ ERROR at setup of test_time[FakeStrictRedis] _________________
file /tmp/autopkgtest-lxc.tksev830/downtmp/build.Tqp/src/test/test_fakeredis.py,
line 3361
  @fake_only
  def test_time(r, mocker):
E       fixture 'mocker' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys,
capsysbinary, cov, create_redis, doctest_namespace, fake_server,
is_redis_running, monkeypatch, no_cover, pytestconfig, r, record_property,
record_testsuite_property, record_xml_attribute, recwarn, tmp_path,
tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.

/tmp/autopkgtest-lxc.tksev830/downtmp/build.Tqp/src/test/test_fakeredis.py:3361
=============== 760 passed, 26 skipped, 1 error in 23.98 seconds ===============
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:9:
DeprecationWarning: the imp module is deprecated in favour of importlib; see the
module's documentation for alternative uses
  import imp
autopkgtest [20:17:10]: test command1: -----------------------]
autopkgtest [20:17:10]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1             FAIL non-zero exit status 1



More information about the Python-modules-team mailing list