Package openid :: Package test :: Module test_examples :: Class TestServer
[hide private]
[frames] | no frames]

Class TestServer

source code

unittest.TestCase --+
                    |
                   TestServer

Acceptance tests for examples/server.py.

These are more acceptance tests than unit tests as they actually start the whole server running and test it on its external HTTP interface.

Instance Methods [hide private]
 
setUp(self) source code
 
runExampleServer(self)
Zero-arg run-the-server function to be passed to TestInfo.
source code
 
v1endpoint(self, port)
Return an OpenID 1.1 OpenIDServiceEndpoint for the server.
source code
 
test_checkidv1(self)
OpenID 1.1 checkid_setup request.
source code
 
test_allowed(self)
OpenID 1.1 checkid_setup request.
source code
 
twill_checkidv1(self, twillInfo) source code
 
twill_allowed(self, twillInfo) source code
 
tearDown(self) source code