Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed #14247 - 'forms' test failure in 1.2.X

Thanks to ramiro/pmclanaham for the report and analysis.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ec4d6bb21d2b7bffae21e7c55b5444fead9df41d 1 parent 6e1c46d
Luke Plant authored September 10, 2010

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  tests/regressiontests/forms/models.py
8  tests/regressiontests/forms/models.py
@@ -119,12 +119,12 @@ def test_callable_initial_value(self):
119 119
 <option value="1" selected="selected">ChoiceOption 1</option>
120 120
 <option value="2">ChoiceOption 2</option>
121 121
 <option value="3">ChoiceOption 3</option>
122  
-</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>
  122
+</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>
123 123
 <p><label for="id_multi_choice_int">Multi choice int:</label> <select multiple="multiple" name="multi_choice_int" id="id_multi_choice_int">
124 124
 <option value="1" selected="selected">ChoiceOption 1</option>
125 125
 <option value="2">ChoiceOption 2</option>
126 126
 <option value="3">ChoiceOption 3</option>
127  
-</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>""")
  127
+</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>""")
128 128
 
129 129
     def test_initial_instance_value(self):
130 130
         "Initial instances for model fields may also be instances (refs #7287)"
@@ -151,13 +151,13 @@ def test_initial_instance_value(self):
151 151
 <option value="2" selected="selected">ChoiceOption 2</option>
152 152
 <option value="3" selected="selected">ChoiceOption 3</option>
153 153
 </select><input type="hidden" name="initial-multi_choice" value="2" id="initial-id_multi_choice_0" />
154  
-<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>
  154
+<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>
155 155
 <p><label for="id_multi_choice_int">Multi choice int:</label> <select multiple="multiple" name="multi_choice_int" id="id_multi_choice_int">
156 156
 <option value="1">ChoiceOption 1</option>
157 157
 <option value="2" selected="selected">ChoiceOption 2</option>
158 158
 <option value="3" selected="selected">ChoiceOption 3</option>
159 159
 </select><input type="hidden" name="initial-multi_choice_int" value="2" id="initial-id_multi_choice_int_0" />
160  
-<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>""")
  160
+<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>""")
161 161
 
162 162
 
163 163
 __test__ = {'API_TESTS': """

0 notes on commit ec4d6bb

Please sign in to comment.
Something went wrong with that request. Please try again.