Package openid :: Package test :: Module test_consumer :: Class TestSetupNeeded
[frames] | no frames]

Class TestSetupNeeded

source code

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

Nested Classes

Inherited from TestIdRes: consumer_class

Inherited from unittest.TestCase: failureException

Instance Methods
failUnlessSetupNeeded(self, expected_setup_url, message) source code
The minimum conditions necessary to trigger Setup Needed
source code
Extra stuff along with setup_url still trigger Setup Needed
source code
When the user_setup_url is missing on an OpenID 1 message, we assume that it's not a cancel response to checkid_immediate
source code
test_setupNeededOpenID2(self) source code
test_setupNeededDoesntWorkForOpenID1(self) source code
test_noSetupNeededOpenID2(self) source code

Inherited from TestIdRes: disableDiscoveryVerification, disableReturnToChecking, setUp

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 support.CatchLogs: failUnlessLogEmpty, failUnlessLogMatches, gotLogMessage

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


Inherited from object: __class__