Permalink
Browse files

Fix duplicate class name

  • Loading branch information...
LeResKP committed Sep 19, 2013
1 parent 30ea639 commit 1c133c9074aaded7823d99e3f31aaf4eab8f26d8
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/test_widgets.py
@@ -295,7 +295,7 @@ class TestCompoundWidget(tb.WidgetTest):
class RepeatingTestWidget(wd.RepeatingWidget):
child = AlwaysValidateFalseWidget
class TestRepeatingWidget(tb.WidgetTest):
class TestRepeatingTestWidget(tb.WidgetTest):
widget = RepeatingTestWidget
attrs = {'id':"rw", 'repetitions':1, 'validator':AlwaysValidateFalseValidator}
expected = """<div id="rw"><p>Test Widget</p></div>"""
@@ -324,7 +324,7 @@ class DisplayOnlyTestWidget(wd.DisplayOnlyWidget):
child = twc.Variable(default=AlwaysValidateFalseWidget)
template = "tw2.core.test_templates.display_only_test_widget"
class TestDisplayOnlyWidget(tb.WidgetTest):
class TestDisplayOnlyTestWidget(tb.WidgetTest):
widget = DisplayOnlyTestWidget
attrs = {'id':"dotw"}
expected = """<p>Test Widget</p>"""

0 comments on commit 1c133c9

Please sign in to comment.