~leonardr/lazr.restful/zoom-out-by-default

« back to all changes in this revision

Viewing changes to src/lazr/restful/example/base/tests/entry.txt

  • Committer: Leonard Richardson
  • Date: 2011-01-10 14:41:38 UTC
  • Revision ID: leonard.richardson@canonical.com-20110110144138-pegjtgzt5sejzu8j
Initial implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    >>> from lazr.restful.testing.webservice import WebServiceCaller
14
14
    >>> webservice = WebServiceCaller(domain='cookbooks.dev')
15
15
 
 
16
====
 
17
Demo
 
18
====
 
19
 
 
20
    >>> import pprint
 
21
 
 
22
    >>> pprint.pprint(webservice.get("/cookbooks/The%20Joy%20of%20Cooking?ws.expand=recipes").jsonBody())
 
23
 
 
24
    >>> pprint.pprint(webservice.get("/recipes/3?ws.expand=cookbook&ws.expand=dish").jsonBody())
 
25
 
 
26
    
 
27
 
16
28
=======
17
29
Reading
18
30
=======