[Python-modules-team] Bug#736878: python-django: Please provide python3-django

Brian May brian at microcomaustralia.com.au
Wed Jun 18 00:11:04 UTC 2014


I started work on this, unfortunately, I appear to have got a test failure.
Can't tell if it is python2.7 or python3, my history doesn't go back far
enough:

======================================================================
FAIL: test_template_loader_postmortem_notreadable
(view_tests.tests.test_debug.DebugViewTests)
Tests for not readable file
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/brian/tree/debian/wip/python-django/python-django-1.6.5/tests/view_tests/tests/test_debug.py",
line 105, in test_template_loader_postmortem_notreadable
    self.assertContains(response, "%s (File is not readable)" %
template_path, status_code=500, count=1)
  File
"/home/brian/tree/debian/wip/python-django/python-django-1.6.5/django/test/testcases.py",
line 327, in assertContains
    " (expected %d)" % (response.status_code, status_code))
AssertionError: Couldn't retrieve content: Response code was 200 (expected
500)

----------------------------------------------------------------------
Ran 5984 tests in 174.187s

FAILED (failures=1, skipped=432, expected failures=11)
Destroying test database for alias 'default' (':memory:')...
Destroying test database for alias 'other' (':memory:')...
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory
`/home/brian/tree/debian/wip/python-django/python-django-1.6.5'
make: *** [binary] Error 2


At least it is a start :-)

Patch is attached.
-- 
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140618/c0d86b02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3-django.patch
Type: text/x-patch
Size: 2799 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140618/c0d86b02/attachment.bin>


More information about the Python-modules-team mailing list