Skip to content

Commit

Permalink
Updated tests with valid XHTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Sep 18, 2012
1 parent 3a99c4b commit b72b961
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -744,27 +744,27 @@ class TestFormPage(WidgetTest):
<tr class="odd" id="mytestwidget:field1:container">
<th>Field1</th>
<td>
<input name="mytestwidget:field1" id="mytestwidget:field1" type="text">
<input name="mytestwidget:field1" id="mytestwidget:field1" type="text"/>
<span id="mytestwidget:field1:error"></span>
</td>
</tr><tr class="even" id="mytestwidget:field2:container">
<th>Field2</th>
<td>
<input name="mytestwidget:field2" id="mytestwidget:field2" type="text">
<input name="mytestwidget:field2" id="mytestwidget:field2" type="text"/>
<span id="mytestwidget:field2:error"></span>
</td>
</tr><tr class="odd" id="mytestwidget:field3:container">
<th>Field3</th>
<td>
<input name="mytestwidget:field3" id="mytestwidget:field3" type="text">
<input name="mytestwidget:field3" id="mytestwidget:field3" type="text"/>
<span id="mytestwidget:field3:error"></span>
</td>
</tr>
<tr class="error"><td colspan="2">
<span id="mytestwidget:error"></span>
</td></tr>
</table>
<input type="submit" value="Save">
<input type="submit" value="Save" />
</form></body>
</html>"""

Expand All @@ -782,27 +782,27 @@ def test_request_get(self):
<tr class="odd" id="mytestwidget:field1:container">
<th>Field1</th>
<td>
<input name="mytestwidget:field1" id="mytestwidget:field1" type="text">
<input name="mytestwidget:field1" id="mytestwidget:field1" type="text"/>
<span id="mytestwidget:field1:error"></span>
</td>
</tr><tr class="even" id="mytestwidget:field2:container">
<th>Field2</th>
<td>
<input name="mytestwidget:field2" id="mytestwidget:field2" type="text">
<input name="mytestwidget:field2" id="mytestwidget:field2" type="text"/>
<span id="mytestwidget:field2:error"></span>
</td>
</tr><tr class="odd" id="mytestwidget:field3:container">
<th>Field3</th>
<td>
<input name="mytestwidget:field3" id="mytestwidget:field3" type="text">
<input name="mytestwidget:field3" id="mytestwidget:field3" type="text"/>
<span id="mytestwidget:field3:error"></span>
</td>
</tr>
<tr class="error"><td colspan="2">
<span id="mytestwidget:error"></span>
</td></tr>
</table>
<input type="submit" value="Save">
<input type="submit" value="Save"/>
</form></body>
</html>""")

Expand Down

0 comments on commit b72b961

Please sign in to comment.