[Zope3-Users] Testbrowser returns escaped html
Christian Klinger
cklinger at novareto.de
Tue Mar 31 10:58:05 EDT 2009
Hello everybody,
i run into a problem by testing a megrok.addon.
I setup serveral tests in this package in try
to test these with zope.testbrowser.
Unfortunatly i don´t get *real* html back.
This means i got always escaped html instead of
unsecaped html in browser contents.
This is a error from a test run:
######################################################
Failed example:
print browser.contents
Differences (ndiff with -expected +actual):
+ <div class="actionMenuWrapper">
+ <ul class="actionMenu">
+ <li class="inactive-menu-item">
+ <a href="">
+ <div>print</div>
+ </a>
+ </li>
+ <BLANKLINE>
+ </ul>
+ </div>
+ <div class="clearActionMenu" />
+ <BLANKLINE>
+ <BLANKLINE>
########################################################
You can see the whole package in my svn.zope.org Sandbox
here. [1]
So maybe someone has an idea howto fix this.
cheers Christian
[1] http://svn.zope.org/Sandbox/cklinger/megrok.ootbviewlets/trunk/
More information about the Zope3-users
mailing list