[PKG-Openstack-devel] Bug#865938: python-django-bootstrap-form FTBFS with Django 1.11
Adrian Bunk
bunk at debian.org
Sun Jun 25 23:56:23 UTC 2017
Source: python-django-bootstrap-form
Version: 3.2.1-2
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-bootstrap-form.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/python-django-bootstrap-form-3.2.1'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
set -e && for pyvers in 2.7 3.5 ; do \
python$pyvers setup.py test ; \
done
running test
running egg_info
writing requirements to django_bootstrap_form.egg-info/requires.txt
writing django_bootstrap_form.egg-info/PKG-INFO
writing top-level names to django_bootstrap_form.egg-info/top_level.txt
writing dependency_links to django_bootstrap_form.egg-info/dependency_links.txt
reading manifest file 'django_bootstrap_form.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_bootstrap_form.egg-info/SOURCES.txt'
running build_ext
FF
======================================================================
FAIL: test_basic_form (bootstrapform.tests.BootstrapTemplateTagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/python-django-bootstrap-form-3.2.1/bootstrapform/tests.py", line 59, in test_basic_form
self.assertHTMLEqual(html, content)
File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 710, 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]...
<div class="form-group">
<label class=" control-label" for="id_char_field">
Char field
</label><div class=" ">
<input class=" form-control" id="id_char_field" name="char_field" required type="text" />
</div>
</div><div class="form-group">
<label class=" control-label" for="id_choice_field">
Choice field
</label><div class=" ">
- <select class=" form-control" id="id_choice_field" name="choice_field">
+ <select class=" form-control" id="id_choice_field" name="choice_field" required>
? +++++++++
<option value="0">
Zero
</option><option value="1">
One
</option><option value="2">
Two
</option>
</select>
</div>
</div><div class="form-group">
<label class=" control-label">
Radio choice
</label><div class>
<div class="radio">
<label>
<input id="id_radio_choice_0" name="radio_choice" required type="radio" value="0" />Zero
</label>
</div><div class="radio">
<label>
<input id="id_radio_choice_1" name="radio_choice" required type="radio" value="1" />One
</label>
</div><div class="radio">
<label>
<input id="id_radio_choice_2" name="radio_choice" required type="radio" value="2" />Two
</label>
</div>
</div>
</div><div class="form-group">
<label class=" control-label" for="id_multiple_choice">
Multiple choice
</label><div class=" ">
<select class=" form-control" id="id_multiple_choice" multiple="multiple" name="multiple_choice" required>
<option value="0">
Zero
</option><option value="1">
One
</option><option value="2">
Two
</option>
</select>
</div>
</div><div class="form-group">
<label class=" control-label" for="id_multiple_checkbox">
Multiple checkbox
</label><div class=" multiple-checkbox">
<ul id="id_multiple_checkbox">
<li>
<label for="id_multiple_checkbox_0">
<input id="id_multiple_checkbox_0" name="multiple_checkbox" type="checkbox" value="0" />Zero
</label>
</li><li>
<label for="id_multiple_checkbox_1">
<input id="id_multiple_checkbox_1" name="multiple_checkbox" type="checkbox" value="1" />One
</label>
</li><li>
<label for="id_multiple_checkbox_2">
<input id="id_multiple_checkbox_2" name="multiple_checkbox" type="checkbox" value="2" />Two
</label>
</li>
</ul>
</div>
</div><div class="form-group">
<label class=" control-label" for="id_file_fied">
File fied
</label><div class=" ">
<input id="id_file_fied" name="file_fied" required type="file" />
</div>
</div><div class="form-group">
<label class=" control-label" for="id_password_field">
Password field
</label><div class=" ">
<input class=" form-control" id="id_password_field" name="password_field" required type="password" />
</div>
</div><div class="form-group">
<label class=" control-label" for="id_textarea">
Textarea
</label><div class=" ">
<textarea class=" form-control" cols="40" id="id_textarea" name="textarea" required rows="10" />
</div>
</div><div class="form-group">
<div class>
<div class="checkbox">
<label>
<input id="id_boolean_field" name="boolean_field" required type="checkbox" /><span>
Boolean field
</span>
</label>
</div>
</div>
</div>
======================================================================
FAIL: test_horizontal_form (bootstrapform.tests.BootstrapTemplateTagTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/python-django-bootstrap-form-3.2.1/bootstrapform/tests.py", line 79, in test_horizontal_form
self.assertHTMLEqual(html, content)
File "/usr/lib/python2.7/dist-packages/django/test/testcases.py", line 710, 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]...
<div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_char_field">
Char field
</label><div class=" col-lg-10 col-sm-10">
<input class=" form-control" id="id_char_field" name="char_field" required type="text" />
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_choice_field">
Choice field
</label><div class=" col-lg-10 col-sm-10">
- <select class=" form-control" id="id_choice_field" name="choice_field">
+ <select class=" form-control" id="id_choice_field" name="choice_field" required>
? +++++++++
<option value="0">
Zero
</option><option value="1">
One
</option><option value="2">
Two
</option>
</select>
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label">
Radio choice
</label><div class=" col-lg-10 col-sm-10">
<div class="radio">
<label>
<input id="id_radio_choice_0" name="radio_choice" required type="radio" value="0" />Zero
</label>
</div><div class="radio">
<label>
<input id="id_radio_choice_1" name="radio_choice" required type="radio" value="1" />One
</label>
</div><div class="radio">
<label>
<input id="id_radio_choice_2" name="radio_choice" required type="radio" value="2" />Two
</label>
</div>
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_multiple_choice">
Multiple choice
</label><div class=" col-lg-10 col-sm-10">
<select class=" form-control" id="id_multiple_choice" multiple="multiple" name="multiple_choice" required>
<option value="0">
Zero
</option><option value="1">
One
</option><option value="2">
Two
</option>
</select>
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_multiple_checkbox">
Multiple checkbox
</label><div class=" col-lg-10 col-sm-10 multiple-checkbox">
<ul id="id_multiple_checkbox">
<li>
<label for="id_multiple_checkbox_0">
<input id="id_multiple_checkbox_0" name="multiple_checkbox" type="checkbox" value="0" />Zero
</label>
</li><li>
<label for="id_multiple_checkbox_1">
<input id="id_multiple_checkbox_1" name="multiple_checkbox" type="checkbox" value="1" />One
</label>
</li><li>
<label for="id_multiple_checkbox_2">
<input id="id_multiple_checkbox_2" name="multiple_checkbox" type="checkbox" value="2" />Two
</label>
</li>
</ul>
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_file_fied">
File fied
</label><div class=" col-lg-10 col-sm-10">
<input id="id_file_fied" name="file_fied" required type="file" />
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_password_field">
Password field
</label><div class=" col-lg-10 col-sm-10">
<input class=" form-control" id="id_password_field" name="password_field" required type="password" />
</div>
</div><div class="form-group">
<label class=" col-lg-2 col-sm-2 control-label" for="id_textarea">
Textarea
</label><div class=" col-lg-10 col-sm-10">
<textarea class=" form-control" cols="40" id="id_textarea" name="textarea" required rows="10" />
</div>
</div><div class="form-group">
<div class=" col-lg-10 col-lg-offset-2 col-sm-10 col-sm-offset-2">
<div class="checkbox">
<label>
<input id="id_boolean_field" name="boolean_field" required type="checkbox" /><span>
Boolean field
</span>
</label>
</div>
</div>
</div>
----------------------------------------------------------------------
Ran 2 tests in 0.076s
FAILED (failures=2)
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
Destroying test database for alias 'default'...
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
More information about the Openstack-devel
mailing list