summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-01-20 23:09:10 -0800
committerTim Graham <timograham@gmail.com>2018-01-21 02:09:10 -0500
commitff05de760cc4ef4c7f188e163c722ec3bc1f0cbf (patch)
treeba133d0ecea7521935c98cf1c058df4e6a9ff233 /tests/postgres_tests/test_array.py
parent4b0f39d9fb2033a9597e30ac13af162440b82ebc (diff)
downloaddjango-ff05de760cc4ef4c7f188e163c722ec3bc1f0cbf.tar.gz
Fixed #29038 -- Removed closing slash from HTML void tags.
Diffstat (limited to 'tests/postgres_tests/test_array.py')
-rw-r--r--tests/postgres_tests/test_array.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py
index e2ad3e8dcc..4776bda934 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -805,9 +805,9 @@ class TestSplitFormField(PostgreSQLTestCase):
<tr>
<th><label for="id_array_0">Array:</label></th>
<td>
- <input id="id_array_0" name="array_0" type="text" required />
- <input id="id_array_1" name="array_1" type="text" required />
- <input id="id_array_2" name="array_2" type="text" required />
+ <input id="id_array_0" name="array_0" type="text" required>
+ <input id="id_array_1" name="array_1" type="text" required>
+ <input id="id_array_2" name="array_2" type="text" required>
</td>
</tr>
''')
@@ -876,8 +876,8 @@ class TestSplitFormWidget(PostgreSQLWidgetTestCase):
self.check_html(
SplitArrayWidget(forms.TextInput(), size=2), 'array', None,
"""
- <input name="array_0" type="text" />
- <input name="array_1" type="text" />
+ <input name="array_0" type="text">
+ <input name="array_1" type="text">
"""
)
@@ -887,8 +887,8 @@ class TestSplitFormWidget(PostgreSQLWidgetTestCase):
'array', ['val1', 'val2'], attrs={'id': 'foo'},
html=(
"""
- <input id="foo_0" name="array_0" type="text" value="val1" />
- <input id="foo_1" name="array_1" type="text" value="val2" />
+ <input id="foo_0" name="array_0" type="text" value="val1">
+ <input id="foo_1" name="array_1" type="text" value="val2">
"""
)
)