Author: lukeplant
Date: 2010-09-10 08:17:38 -0500 (Fri, 10 Sep 2010)
New Revision: 13707
Modified:
django/branches/releases/1.2.X/tests/regressiontests/forms/models.py
Log:
[1.2.X] Fixed #14247 - 'forms' test failure in 1.2.X
Thanks to ramiro/pmclanaham for the report and analysis.
Modified: django/branches/releases/1.2.X/tests/regressiontests/forms/models.py
===================================================================
--- django/branches/releases/1.2.X/tests/regressiontests/forms/models.py
2010-09-10 13:09:19 UTC (rev 13706)
+++ django/branches/releases/1.2.X/tests/regressiontests/forms/models.py
2010-09-10 13:17:38 UTC (rev 13707)
@@ -119,12 +119,12 @@
<option value="1" selected="selected">ChoiceOption 1</option>
<option value="2">ChoiceOption 2</option>
<option value="3">ChoiceOption 3</option>
-</select><input type="hidden" name="initial-multi_choice" value="1"
id="initial-id_multi_choice_0" /> <span class="helptext"> Hold down "Control",
or "Command" on a Mac, to select more than one.</span></p>
+</select><input type="hidden" name="initial-multi_choice" value="1"
id="initial-id_multi_choice_0" /> Hold down "Control", or "Command" on a Mac,
to select more than one.</p>
<p><label for="id_multi_choice_int">Multi choice int:</label> <select
multiple="multiple" name="multi_choice_int" id="id_multi_choice_int">
<option value="1" selected="selected">ChoiceOption 1</option>
<option value="2">ChoiceOption 2</option>
<option value="3">ChoiceOption 3</option>
-</select><input type="hidden" name="initial-multi_choice_int" value="1"
id="initial-id_multi_choice_int_0" /> <span class="helptext"> Hold down
"Control", or "Command" on a Mac, to select more than one.</span></p>""")
+</select><input type="hidden" name="initial-multi_choice_int" value="1"
id="initial-id_multi_choice_int_0" /> Hold down "Control", or "Command" on a
Mac, to select more than one.</p>""")
def test_initial_instance_value(self):
"Initial instances for model fields may also be instances (refs #7287)"
@@ -151,13 +151,13 @@
<option value="2" selected="selected">ChoiceOption 2</option>
<option value="3" selected="selected">ChoiceOption 3</option>
</select><input type="hidden" name="initial-multi_choice" value="2"
id="initial-id_multi_choice_0" />
-<input type="hidden" name="initial-multi_choice" value="3"
id="initial-id_multi_choice_1" /> <span class="helptext"> Hold down "Control",
or "Command" on a Mac, to select more than one.</span></p>
+<input type="hidden" name="initial-multi_choice" value="3"
id="initial-id_multi_choice_1" /> Hold down "Control", or "Command" on a Mac,
to select more than one.</p>
<p><label for="id_multi_choice_int">Multi choice int:</label> <select
multiple="multiple" name="multi_choice_int" id="id_multi_choice_int">
<option value="1">ChoiceOption 1</option>
<option value="2" selected="selected">ChoiceOption 2</option>
<option value="3" selected="selected">ChoiceOption 3</option>
</select><input type="hidden" name="initial-multi_choice_int" value="2"
id="initial-id_multi_choice_int_0" />
-<input type="hidden" name="initial-multi_choice_int" value="3"
id="initial-id_multi_choice_int_1" /> <span class="helptext"> Hold down
"Control", or "Command" on a Mac, to select more than one.</span></p>""")
+<input type="hidden" name="initial-multi_choice_int" value="3"
id="initial-id_multi_choice_int_1" /> Hold down "Control", or "Command" on a
Mac, to select more than one.</p>""")
__test__ = {'API_TESTS': """
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.