~cjwatson/lazr.restful/py3-doctest-encoding

« back to all changes in this revision

Viewing changes to src/lazr/restful/example/base/tests/representation-cache.txt

  • Committer: Colin Watson
  • Date: 2020-02-04 13:28:01 UTC
  • mfrom: (234.1.1 six-urllib)
  • Revision ID: cjwatson@canonical.com-20200204132801-2kku642v7nd97rnq
[r=ilasc] Import urllib and friends from six.moves.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
    >>> print(dictionary.keys()[0])
210
210
    http://.../devel/cookbooks/Everyday%20Greens,application/json
211
211
 
212
 
    >>> from urllib import quote
 
212
    >>> from six.moves.urllib.parse import quote
213
213
    >>> greens_url = quote("/cookbooks/Everyday Greens")
214
214
    >>> ignore = webservice.named_post(
215
215
    ...     greens_url, "replace_cover", cover="foo")