[PKG-Openstack-devel] Bug#755656: The "fix" is not enough

Thomas Goirand zigo at debian.org
Wed Aug 13 15:17:30 UTC 2014


After applying the fix for calling django.setup(), there's still the
below errors which do not appear with Django 1.6:

======================================================================
FAIL: test_basic_form (tests.BootstrapTemplateTagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/zigo/sources/openstack/icehouse/python-django-bootstrap-form/build-area/python-django-bootstrap-form-3.1.0/tests/__init__.py",
line 55, in test_basic_form
    self.assertHTMLEqual(html, content)
  File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line
645, in assertHTMLEqual
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: <div class="form-group">
<label class="  control-label" for="id_char_field">
Cha [truncated]... != <div class="form-group">
<label class="  control-label" for="id_char_field">
Cha [truncated]...
Diff is 3252 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_horizontal_form (tests.BootstrapTemplateTagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/zigo/sources/openstack/icehouse/python-django-bootstrap-form/build-area/python-django-bootstrap-form-3.1.0/tests/__init__.py",
line 66, in test_horizontal_form
    self.assertHTMLEqual(html, content)
  File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line
645, in assertHTMLEqual
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: <div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id [truncated]...
!= <div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id [truncated]...
Diff is 3606 characters long. Set self.maxDiff to None to see it.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list