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

Class TestFetchAssoc

source code

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

Nested Classes
  consumer_class
This is the implementation of the common logic for OpenID consumers.

Inherited from unittest.TestCase: failureException

Instance Methods
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test_error_404(self)
404 from a kv post raises HTTPFetchingError
source code
 
test_error_exception_unwrapped(self)
Ensure that exceptions are bubbled through from fetchers when making associations
source code
 
test_error_exception_wrapped(self)
Ensure that openid.fetchers.HTTPFetchingError is caught by the association creation stuff.
source code

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__

Properties

Inherited from object: __class__

Method Details

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: support.CatchLogs.setUp