Tests for high-level consumer.Consumer functions.
Its GenericConsumer component is stubbed out with StubConsumer.
|
|
|
|
|
withDummyDiscovery(self,
callable,
dummy_getNextService) |
source code
|
|
|
test_beginHTTPError(self)
Make sure that the discovery HTTP failure case behaves properly |
source code
|
|
|
|
|
|
|
|
|
_doResp(self,
auth_req,
exp_resp)
complete a transaction, using the expected response from the generic
consumer. |
source code
|
|
|
_doRespNoDisco(self,
exp_resp)
Set up a transaction without discovery |
source code
|
|
|
|
|
|
|
|
|
|
|
_doRespDisco(self,
is_clean,
exp_resp)
Set up and execute a transaction, with discovery |
source code
|
|
|
|
|
|
|
|
|
|
|
test_successDifferentURL(self)
Be sure that the session gets cleaned up when the response is
successful and has a different URL than the one in the request. |
source code
|
|
|
|