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.
|
|||
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 |
|
|||
|
|||
|
|
|||
association_response_values =
|
|||
__package__ =
|
|
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. |
|
association_response_values
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 31 11:37:50 2014 | http://epydoc.sourceforge.net |