mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a
.
This commit is contained in:
parent
dfeb19121b
commit
e014f91a70
5 changed files with 13 additions and 4 deletions
|
@ -166,6 +166,13 @@ class MultiWidgetTest(WidgetTest):
|
|||
"""
|
||||
))
|
||||
|
||||
def test_no_whitespace_between_widgets(self):
|
||||
widget = MyMultiWidget(widgets=(TextInput, TextInput()))
|
||||
self.check_html(widget, 'code', None, html=(
|
||||
'<input type="text" name="code_0" />'
|
||||
'<input type="text" name="code_1" />'
|
||||
), strict=True)
|
||||
|
||||
def test_deepcopy(self):
|
||||
"""
|
||||
MultiWidget should define __deepcopy__() (#12048).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue