Package openid :: Package test :: Module test_auth_request :: Class TestAuthRequestOpenID1
[frames] | no frames]

Class TestAuthRequestOpenID1

source code

             object --+        
                      |        
support.OpenIDTestMixin --+    
                          |    
       TestAuthRequestMixin --+
                              |
                 object --+   |
                          |   |
          unittest.TestCase --+
                              |
                             TestAuthRequestOpenID1
Known Subclasses:

Nested Classes

Inherited from unittest.TestCase: failureException

Instance Methods
 
setUpEndpoint(self) source code
 
failUnlessHasIdentifiers(self, msg, op_specific_id, claimed_id)
Make sure claimed_is is *absent* in request.
source code
 
failUnlessIdentifiersPresent(self, msg) source code
 
failUnlessHasRealm(self, msg) source code
 
test_setAnonymousFailsForOpenID1(self)
OpenID 1 requests MUST NOT be able to set anonymous to True
source code
 
test_identifierSelect(self)
Identfier select SHOULD NOT be sent, but this pathway is in here in case some special discovery stuff is done to trigger it with OpenID 1.
source code

Inherited from TestAuthRequestMixin: failUnlessAnonymous, failUnlessHasRequiredFields, setUp, test_addExtensionArg, test_checkNoAssocHandle, test_checkWithAssocHandle, test_standard

Inherited from support.OpenIDTestMixin: failIfOpenIDKeyExists, failUnlessOpenIDValueEquals

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, tearDown

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

Class Variables
  preferred_namespace = 'http://openid.net/signon/1.0'

Inherited from TestAuthRequestMixin: expected_mode, immediate

Properties

Inherited from object: __class__

Method Details

test_identifierSelect(self)

source code 

Identfier select SHOULD NOT be sent, but this pathway is in here in case some special discovery stuff is done to trigger it with OpenID 1. If it is triggered, it will send identifier_select just like OpenID 2.