Package openid :: Package test :: Module test_etxrd :: Class TestServiceParser
[frames] | no frames]

Class TestServiceParser

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   TestServiceParser

Nested Classes

Inherited from unittest.TestCase: failureException

Instance Methods
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
testParse(self)
Make sure that parsing succeeds at all
source code
 
testParseOpenID(self)
Parse for OpenID services with a transformer function
source code
 
testGetSeveral(self)
Get some services in order
source code
 
testGetSeveralForOne(self)
Getting services for one Service with several Type elements.
source code
 
testNoXRDS(self)
Make sure that we get an exception when an XRDS element is not present
source code
 
testEmpty(self)
Make sure that we get an exception when an XRDS element is not present
source code
 
testNoXRD(self)
Make sure that we get an exception when there is no XRD element present.
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 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: unittest.TestCase.setUp
(inherited documentation)