~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/tests/test_webservice.py

  • Committer: Henning Eggers
  • Date: 2011-07-12 10:02:51 UTC
  • mto: This revision was merged to the branch mainline in revision 13440.
  • Revision ID: henning@canonical.com-20110712100251-8orzcy0ra28y2qxs
Restored r13373.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        request = get_current_web_service_request()
43
43
        renderer = getMultiAdapter(
44
44
            (product, field, request), IFieldHTMLRenderer)
45
 
        # The representation is linkified html with hidden email.
 
45
        # The representation is linkified html.
46
46
        self.assertEqual(
47
 
            u'<p>\N{SNOWMAN} &lt;email address hidden&gt; '
 
47
            u'<p>\N{SNOWMAN} snowman@example.com '
48
48
            '<a href="/bugs/1">bug 1</a></p>',
49
49
            renderer(text))
50
50