~leonardr/lazr.restful/bump-version

« back to all changes in this revision

Viewing changes to src/lazr/restful/example/multiversion/tests/introduction.txt

  • Committer: Leonard Richardson
  • Date: 2010-02-10 21:11:04 UTC
  • Revision ID: leonard.richardson@canonical.com-20100210211104-j4i0gb91v2lhki9u
Added WADL generation tests for multiversion services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
    Traceback (most recent call last):
304
304
    ...
305
305
    ValueError: No such operation: by_value
306
 
 
307
 
WADL
308
 
====
309
 
 
310
 
The WADL 
311
 
 
312
 
    >>> wadl = webservice.get(
313
 
    ...     '/', media_type='application/vnd.sun.wadl+xml').body
314
 
    >>> print wadl
315
 
 
316
 
    >>> wadl2 = webservice.get(
317
 
    ...     '/', media_type='application/vnd.sun.wadl+xml',
318
 
    ...     api_version='3.0').body