FAIL: test_multichoice (fungiform.tests.widgets.WidgetTestCase) #2

Closed
florentx opened this Issue Jun 20, 2010 · 2 comments

Projects

None yet

2 participants

@florentx
======================================================================
FAIL: test_multichoice (fungiform.tests.widgets.WidgetTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/florent/dev/labs/hg_fungiform/fungiform/tests/widgets.py", line 36, in test_multichoice
    u'</form>', MyForm().as_widget().render())
AssertionError: u'<form action="" method="post"><dl><dt><label for="f_mc">Foo</label></dt><dd><ul id="f_mc" class="choicegroup"><li><input type="checkbox" id="f_mc_1" value="1" name="mc"> <label for="f_mc_1">One</label></li><li><input type="checkbox" id="f_mc_2" value="2" name="mc"> <label for="f_mc_2">Two</label></li></ul></dd></dl><div class="actions"><input type="submit" value="Submit"></div></form>' != u'<form action="" method="post"><dl><dt><label for="f_mc">Foo</label></dt><dd><ul id="f_mc" class="choicegroup">&lt;li&gt;&lt;input type=&#34;checkbox&#34; id=&#34;f_mc_1&#34; value=&#34;1&#34; name=&#34;mc&#34;&gt; &lt;label for=&#34;f_mc_1&#34;&gt;One&lt;/label&gt;&lt;/li&gt;&lt;li&gt;&lt;input type=&#34;checkbox&#34; id=&#34;f_mc_2&#34; value=&#34;2&#34; name=&#34;mc&#34;&gt; &lt;label for=&#34;f_mc_2&#34;&gt;Two&lt;/label&gt;&lt;/li&gt;</ul></dd></dl><div class="actions"><input type="submit" value="Submit"></div></form>'

----------------------------------------------------------------------
Ran 24 tests in 0.034s

FAILED (failures=1)
@mitsuhiko
Owner

Fixed slightly differently.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment