Skip to content

Commit

Permalink
Broken test case due to toscawidgets/tw2.core#110
Browse files Browse the repository at this point in the history
  • Loading branch information
moschlar committed Jul 25, 2014
1 parent e625395 commit 2c290e9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tests/test_widgets.py
Expand Up @@ -624,18 +624,25 @@ class TestRowLayout(WidgetTest):
class TestGridLayout(WidgetTest):

widget = GridLayout
attrs = {'children': [
attrs = {'id': 'grid',
'children': [
TextField(id='field1'),
TextField(id='field2'),
TextField(id='field3')],
'repetition': 1,
}
expected = """<table>
expected = """<table id="grid">
<tr><th>Field1</th><th>Field2</th><th>Field3</th></tr>
<tr class="error"><td colspan="0" id=":error">
<tr class="error"><td colspan="0" id="grid:error">
</td></tr>
</table>"""
declarative = True
validate_params = [[
None,
{'grid:0:field1': 'something'},
None,
None,
]]


class TestSpacer(WidgetTest):
Expand Down

0 comments on commit 2c290e9

Please sign in to comment.