Home | Trees | Indices | Help |
|
---|
|
Tests for consumer handling of association responses
This duplicates some things that are covered by test_consumer, but this works for now.
Classes | |
BaseAssocTest | |
TestExtractAssociationMissingFieldsOpenID2 Test for returning an error upon missing fields in association responses for OpenID 2 |
|
TestExtractAssociationMissingFieldsOpenID1 Test for returning an error upon missing fields in association responses for OpenID 2 |
|
DummyAssocationSession | |
ExtractAssociationSessionTypeMismatch | |
TestOpenID1AssociationResponseSessionType | |
DummyAssociationSession | |
TestInvalidFields | |
TestExtractAssociationDiffieHellman |
Functions | |||
|
|||
|
Variables | |
association_response_values =
|
Function Details |
Build an association response message that contains the specified subset of keys. The values come from `association_response_values`. This is useful for testing for missing keys and other times that we don't care what the values are. |
Factory function for creating test methods for generating missing field tests. Make a test that ensures that an association response that is missing required fields will short-circuit return None. According to 'Association Session Response' subsection 'Common Response Parameters', the following fields are required for OpenID 2.0: * ns * session_type * assoc_handle * assoc_type * expires_in If 'ns' is missing, it will fall back to OpenID 1 checking. In OpenID 1, everything except 'session_type' and 'ns' are required. |
Variables Details |
association_response_values
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 29 15:11:26 2010 | http://epydoc.sourceforge.net |