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

Class TestBuildDiscoveryURL

source code

unittest.TestCase --+
                    |
                   TestBuildDiscoveryURL

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

Instance Methods [hide private]
 
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