[Zope3-Users] Testbrowser returns escaped html

Christian Klinger cklinger at novareto.de
Wed Apr 1 04:00:10 EDT 2009


Hi,

Sorry for the noise, i made a stupid typo.

Thanks, Christian.

> 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>
>      +   &lt;/ul&gt;
>      + &lt;/div&gt;
>      + &lt;div class="clearActionMenu" /&gt;
>      + <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/
> 
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users



More information about the Zope3-users mailing list