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

Class TestFetchAssoc

source code

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

Instance Methods [hide private]
 
setUp(self) 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 support.CatchLogs: failUnlessLogEmpty, failUnlessLogMatches, gotLogMessage, tearDown

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  consumer_class = GenericConsumer
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 
Overrides: support.CatchLogs.setUp