Package openid :: Package test :: Module test_discover :: Class TestXRIDiscovery
[hide private]
[frames] | no frames]

Class TestXRIDiscovery

source code

       object --+        
                |        
unittest.TestCase --+    
                    |    
    BaseTestDiscovery --+
                        |
                       TestXRIDiscovery

Nested Classes [hide private]
  fetcherClass

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_xri(self) source code
 
test_xri_normalize(self) source code
 
test_xriNoCanonicalID(self) source code
 
test_useCanonicalID(self)
When there is no delegate, the CanonicalID should be used with XRI.
source code

Inherited from BaseTestDiscovery: setUp, tearDown

Inherited from BaseTestDiscovery (private): _checkService

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __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

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  documents = {'=smoker': ('application/xrds+xml', '<?xml versio...

Inherited from BaseTestDiscovery: id_url

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

documents

Value:
{'=smoker': ('application/xrds+xml',
             '''<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS xmlns:xrds="xri://$xrds"
           xmlns="xri://$xrd*($v*2.0)"
           xmlns:openid="http://openid.net/xmlns/1.0"
           >
  <XRD>
    <CanonicalID>=!1000</CanonicalID>
...