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

Class TestServer

source code

unittest.TestCase --+
                    |
       object --+   |
                |   |
        CatchLogs --+
                    |
                   TestServer

Instance Methods [hide private]
 
setUp(self) source code
 
test_dispatch(self) source code
 
test_associate(self) source code
 
test_associate2(self)
Associate when the server has no allowed association types
source code
 
test_associate3(self)
Request an assoc type that is not supported when there are supported types.
source code
 
test_associate4(self)
DH-SHA256 association session
source code
 
test_missingSessionTypeOpenID2(self)
Make sure session_type is required in OpenID 2
source code
 
test_checkAuth(self) source code

Inherited from CatchLogs: gotLogMessage, tearDown

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Overrides: CatchLogs.setUp

test_associate2(self)

source code 

Associate when the server has no allowed association types

Gives back an error with error_code and no fallback session or assoc types.

test_associate3(self)

source code 

Request an assoc type that is not supported when there are supported types.

Should give back an error message with a fallback type.