Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

florentx opened this issue Jun 20, 2010 · 2 comments

Comments

@florentx
Copy link
Contributor

======================================================================
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)
@florentx
Copy link
Contributor Author

Fixed with florentx/fungiform@608ffa0cfd50a5ef3edb

@mitsuhiko
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants