Package openid :: Package test :: Module test_server :: Class TestEncode
[hide private]
[frames] | no frames]

Class TestEncode

source code

unittest.TestCase --+
                    |
                   TestEncode

Instance Methods [hide private]
 
setUp(self) source code
 
test_id_res_OpenID2_GET(self)
Check that when an OpenID 2 response does not exceed the OpenID 1 message size, a GET response (i.e., redirect) is issued.
source code
 
test_id_res_OpenID2_POST(self)
Check that when an OpenID 2 response exceeds the OpenID 1 message size, a POST response (i.e., an HTML form) is returned.
source code
 
test_toFormMarkup(self) source code
 
test_toHTML(self) source code
 
test_id_res_OpenID1_exceeds_limit(self)
Check that when an OpenID 1 response exceeds the OpenID 1 message size, a GET response is issued.
source code
 
test_id_res(self) source code
 
test_cancel(self) source code
 
test_cancelToForm(self) source code
 
test_assocReply(self) source code
 
test_checkauthReply(self) source code
 
test_unencodableError(self) source code
 
test_encodableError(self) source code
Method Details [hide private]

test_id_res_OpenID1_exceeds_limit(self)

source code 

Check that when an OpenID 1 response exceeds the OpenID 1 message size, a GET response is issued. Technically, this shouldn't be permitted by the library, but this test is in place to preserve the status quo for OpenID 1.