incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ket...@apache.org
Subject svn commit: r493366 - /incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py
Date Sat, 06 Jan 2007 05:25:26 GMT
Author: keturn
Date: Fri Jan  5 21:25:25 2007
New Revision: 493366

URL: http://svn.apache.org/viewvc?view=rev&rev=493366
Log:
[python-to-heraldry @ Fixed test names and added tests for assoc session_type mismatch for
OpenID1]
Ugh. Luckily the tests passed.

Original author: Josh Hoyt <josh@janrain.com>
Date: 2006-12-22 19:12:32+00:00

Modified:
    incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py

Modified: incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py?view=diff&rev=493366&r1=493365&r2=493366
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py
(original)
+++ incubator/heraldry/libraries/python/openid/trunk/openid/test/test_association_response.py
Fri Jan  5 21:25:25 2007
@@ -123,24 +123,42 @@
 
         return test
 
-    test_typeMismatch = mkTest(
+    test_typeMismatchNoEncBlank_openid2 = mkTest(
         requested_session_type='no-encryption',
         response_session_type='',
         )
 
-    test_typeMismatch = mkTest(
+    test_typeMismatchDHSHA1NoEnc_openid2 = mkTest(
         requested_session_type='DH-SHA1',
         response_session_type='no-encryption',
         )
 
-    test_typeMismatch = mkTest(
+    test_typeMismatchDHSHA256NoEnc_openid2 = mkTest(
         requested_session_type='DH-SHA256',
         response_session_type='no-encryption',
         )
 
-    test_typeMismatch = mkTest(
+    test_typeMismatchNoEncDHSHA1_openid2 = mkTest(
         requested_session_type='no-encryption',
         response_session_type='DH-SHA1',
+        )
+
+    test_typeMismatchDHSHA1NoEnc_openid1 = mkTest(
+        requested_session_type='DH-SHA1',
+        response_session_type='no-encryption',
+        openid1=True,
+        )
+
+    test_typeMismatchDHSHA256NoEnc_openid1 = mkTest(
+        requested_session_type='DH-SHA256',
+        response_session_type='no-encryption',
+        openid1=True,
+        )
+
+    test_typeMismatchNoEncDHSHA1_openid1 = mkTest(
+        requested_session_type='no-encryption',
+        response_session_type='DH-SHA1',
+        openid1=True,
         )
 
 



Mime
View raw message