Package openid :: Package test :: Module test_rpverify :: Class TestBuildDiscoveryURL
[frames] | no frames]

Class TestBuildDiscoveryURL

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   TestBuildDiscoveryURL

Tests for building the discovery URL from a realm and a return_to URL

Nested Classes

Inherited from unittest.TestCase: failureException

Instance Methods
 
failUnlessDiscoURL(self, realm, expected_discovery_url)
Build a discovery URL out of the realm and a return_to and make sure that it matches the expected discovery URL
source code
 
test_trivial(self)
There is no wildcard and the realm is the same as the return_to URL
source code
 
test_wildcard(self)
There is a wildcard
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, setUp, shortDescription, tearDown

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

Properties

Inherited from object: __class__