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

Class TestXRIDiscovery

source code

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

Nested Classes
  fetcherClass

Inherited from unittest.TestCase: failureException

Instance Methods
 
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 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

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

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

Inherited from BaseTestDiscovery: id_url

Properties

Inherited from object: __class__

Class Variable Details

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>
...