Package openid :: Package test :: Module test_fetchers :: Class DefaultFetcherTest
[hide private]
[frames] | no frames]

Class DefaultFetcherTest

source code

unittest.TestCase --+
                    |
                   DefaultFetcherTest

Instance Methods [hide private]
 
setUp(self)
reset the default fetcher to None
source code
 
tearDown(self)
reset the default fetcher to None
source code
 
test_getDefaultNotNone(self)
Make sure that None is never returned as a default fetcher
source code
 
test_setDefault(self)
Make sure the getDefaultFetcher returns the object set for setDefaultFetcher
source code
 
test_callFetch(self)
Make sure that fetchers.fetch() uses the default fetcher instance that was set.
source code
 
test_wrappedByDefault(self)
Make sure that the default fetcher instance wraps exceptions by default
source code
 
test_notWrapped(self)
Make sure that if we set a non-wrapped fetcher as default, it will not wrap exceptions.
source code