[Python-modules-team] Bug#711355: django-floppyforms: FTBFS: FAIL: test_checkbox (floppyforms.tests.WidgetRenderingTest)

Jakub Wilk jwilk at debian.org
Thu Jun 6 14:24:14 UTC 2013


Source: django-floppyforms
Version: 0.4.7-2
Severity: serious
Tags: sid jessie
Justification: fails to build from source

django-floppyforms FTBFS:
|    debian/rules override_dh_auto_test
| make[1]: Entering directory `/build/django-floppyforms-Eq1bV1/django-floppyforms-0.4.7'
| django-admin startproject testproject
| if [ -d testproject/testproject ]; then \
| 		cp debian/settings.py testproject/testproject ; \
| 	else \
| 		cp debian/settings.py testproject ; \
| 	fi
| set -e; \
| 	for python in python2.7; do \
| 		PYTHONPATH=".:src:testproject" $python testproject/manage.py test --settings=testproject.settings floppyforms ; \
| 	done
| /usr/lib/python2.7/dist-packages/django/contrib/localflavor/__init__.py:2: DeprecationWarning: django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.
|   warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)
|
| ssssssss.F...............................
| ======================================================================
| FAIL: test_checkbox (floppyforms.tests.WidgetRenderingTest)
| <input type="checkbox">
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/django-floppyforms-Eq1bV1/django-floppyforms-0.4.7/floppyforms/tests/__init__.py", line 294, in test_checkbox
|     self.assertTrue('value="foo"' in rendered, rendered)
| AssertionError: <p><label for="id_cb">Cb:</label> <input type="checkbox" name="cb" required checked id="id_cb">
| </p>
|
| ----------------------------------------------------------------------
| Ran 41 tests in 0.418s
|
| FAILED (failures=1, skipped=8)
| Creating test database for alias 'default'...
| Destroying test database for alias 'default'...
| make[1]: *** [override_dh_auto_test] Error 1

-- 
Jakub Wilk



More information about the Python-modules-team mailing list