[Python-modules-team] Bug#873910: django-reversion FTBFS: ERROR: testFieldDictFieldExclude (test_app.tests.test_models.FieldDictExcludeTest)
Adrian Bunk
bunk at debian.org
Fri Sep 1 06:37:18 UTC 2017
Source: django-reversion
Version: 2.0.10-1
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/django-reversion.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/django-reversion-2.0.10'
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} tests/manage.py test tests" dh_auto_test
I: pybuild base:184: python2.7 tests/manage.py test tests
System check identified some issues:
WARNINGS:
?: (1_10.W001) The MIDDLEWARE_CLASSES setting is deprecated in Django 1.10 and the MIDDLEWARE setting takes precedence. Since you've set MIDDLEWARE, the value of MIDDLEWARE_CLASSES is ignored.
System check identified 1 issue (0 silenced).
E.....sss...ss.ssssss.......................sss..........sss.s..s.s................................................................
======================================================================
ERROR: testFieldDictFieldExclude (test_app.tests.test_models.FieldDictExcludeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/django-reversion-2.0.10/tests/test_app/tests/test_models.py", line 267, in testFieldDictFieldExclude
reversion.register(TestModel, exclude=("name",))
File "/build/1st/django-reversion-2.0.10/.pybuild/pythonX.Y_2.7/build/reversion/revisions.py", line 404, in register
return register(model)
File "/build/1st/django-reversion-2.0.10/.pybuild/pythonX.Y_2.7/build/reversion/revisions.py", line 373, in register
model=model,
RegistrationError: <class 'test_app.models.TestModel'> has already been registered with django-reversion
----------------------------------------------------------------------
Ran 131 tests in 11.009s
FAILED (errors=1, skipped=20)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: python2.7 tests/manage.py test tests
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
More information about the Python-modules-team
mailing list