Package openid :: Package test :: Module test_association_response :: Class TestOpenID1AssociationResponseSessionType
[frames] | no frames]

Class TestOpenID1AssociationResponseSessionType

source code

       object --+        
support.CatchLogs --+    
       object --+   |    
                |   |    
unittest.TestCase --+    
        BaseAssocTest --+

Nested Classes

Inherited from unittest.TestCase: failureException

Instance Methods
mkTest(expected_session_type, session_type_value)
Return a test method that will check what session type will be used if the OpenID 1 response to an associate call sets the 'session_type' field to `session_type_value`
source code
test_none(self) source code
test_empty(self) source code
test_explicitNoEncryption(self) source code
test_dhSHA1(self) source code
test_dhSHA256(self) source code

Inherited from BaseAssocTest: failUnlessProtocolError, setUp

Inherited from support.CatchLogs: failUnlessLogEmpty, failUnlessLogMatches, gotLogMessage, tearDown

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Inherited from object: __class__