1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #25706 -- Removed inline CSS in the openlayers widget template.

This commit is contained in:
Claude Paroz
2022-07-30 23:52:17 +02:00
committed by Mariusz Felisiak
parent 2aa6fb2121
commit 44c24bf028
6 changed files with 23 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ class GeoAdminTest(SimpleTestCase):
output = str(form["point"])
self.assertInHTML(
'<textarea id="id_point" class="vSerializedField required" cols="150"'
' rows="10" name="point"></textarea>',
' rows="10" name="point" hidden></textarea>',
output,
)
@@ -27,7 +27,7 @@ class GeoAdminTest(SimpleTestCase):
output = str(form["point"])
self.assertInHTML(
'<textarea id="id_point" class="vSerializedField required" cols="150"'
' rows="10" name="point"></textarea>',
' rows="10" name="point" hidden></textarea>',
output,
)
self.assertEqual(len(cm.records), 1)