class documentation
class ResponseTests(SynchronousTestCase): (source)
Tests for klein.Response
.
Method | test_basic |
Since methods decorated with @require don't receive the request and can't access it to set headers and response codes, instead, they can return a Response object that has those attributes. |