~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/webapp/tests/test_preferredcharsets.txt

Merged fix-retest-colorize into redo-read-only-transactions-in-buildmaster, resolving several import conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
utf-8 as the preferred charset.
3
3
 
4
4
    >>> from zope.publisher.browser import TestRequest
5
 
    >>> from canonical.launchpad.webapp import Utf8PreferredCharsets
 
5
    >>> from lp.services.webapp import Utf8PreferredCharsets
6
6
    >>> user_preferred = Utf8PreferredCharsets(TestRequest())
7
7
 
8
8
    >>> from zope.i18n.interfaces import IUserPreferredCharsets