[Python-modules-team] Bug#755667: Fails to build with Django 1.7

Raphael Hertzog hertzog at debian.org
Thu Aug 7 20:16:17 UTC 2014


Control: tag -1 + confirmed

The package fails to build with Django 1.7:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
set -e; \
for python in python2.7; do \
  PYTHONPATH="." $python example_consumer/manage.py test --settings=example_consumer.settings django_openid_auth ; \
done
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You sho
uld ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for mo
re information.
[...]
======================================================================
FAIL: test_admin_site_with_openid_login_authenticated_non_staff (django_openid_auth.tests.test_admin.SiteAdminTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/django_openid_auth/tests/test_admin.py", line 74, in test_admin_site_with_openid_login_authenticated_non_staff
    response.content, 'Missing error message in response')
AssertionError: Missing error message in response

======================================================================
FAIL: test_admin_site_with_openid_login_non_authenticated_user (django_openid_auth.tests.test_admin.SiteAdminTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/django_openid_auth/tests/test_admin.py", line 84, in test_admin_site_with_openid_login_non_authenticated_user
    response['Location'])
AssertionError: 'http://testserver/openid/login/?next=/admin/' != 'http://testserver/admin/login/?next=/admin/'

----------------------------------------------------------------------
Ran 61 tests in 1.229s

FAILED (failures=2)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
make[1]: *** [override_dh_auto_test] Error 1


Cheers,

-- 
Raphaël Hertzog ◈ Debian Developer

Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/



More information about the Python-modules-team mailing list