Package yadis :: Package test :: Module test_etxrd :: Class TestCanonicalID
[hide private]
[frames] | no frames]

Class TestCanonicalID

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   TestCanonicalID

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  test_getCanonicalID(self)
  _getCanonicalID(self, iname, xrds, expectedID)

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, setUp, shortDescription, tearDown

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


Class Variables [hide private]
  canonicalIDtests = [('@ootao*test1', 'delegated-20060809.xrds', '@!5BAD...

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

test_getCanonicalID(self)

source code 

_getCanonicalID(self, iname, xrds, expectedID)

source code 

Class Variable Details [hide private]

canonicalIDtests

Value:
[('@ootao*test1',
  'delegated-20060809.xrds',
  '@!5BAD.2AA.3C72.AF46!0000.0000.3B9A.CA01'),
 ('@ootao*test1',
  'delegated-20060809-r1.xrds',
  '@!5BAD.2AA.3C72.AF46!0000.0000.3B9A.CA01'),
 ('@ootao*test1',
  'delegated-20060809-r2.xrds',
...