cherrypy.test._test_decorators module¶
Test module for the @-decorator syntax, which is version-specific.
- class cherrypy.test._test_decorators.ExposeExamples[source]¶
Bases:
objectExposed routes test app.
- alias1()¶
Return a string on
/andrews,/alias1,/alias2.
- alias2()¶
Return a string on
/andrews,/alias1,/alias2.
- alias3()¶
Return “Mr. and Mrs. Watson” on
/watson,/alias3.
- call_alias()¶
Return “Mr Nesbitt” on
/call_alias.