~leonardr/launchpadlib/trusted-workflow-tests-2

« back to all changes in this revision

Viewing changes to src/launchpadlib/docs/browser.txt

  • Committer: Leonard Richardson
  • Date: 2009-10-29 11:17:16 UTC
  • mfrom: (67.1.11 trusted-workflow)
  • Revision ID: leonard.richardson@canonical.com-20091029111716-22ey223qpjvo7obv
[r=Edwin] Introduced the framework for a trusted client.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    ...     username, password, request_token)
52
52
    >>> print response['content-type']
53
53
    application/json
54
 
    >>> response['content-location'] == validate_url
 
54
 
 
55
    # XXX leonardr 2009-10-28 bug=462773 These two URLs should be
 
56
    # exactly the same, but the Content-Location is missing the
 
57
    # lp.context.
 
58
    >>> validate_url.startswith(response['content-location'])
55
59
    True
56
60
 
57
61
    >>> import simplejson