[Checkins] SVN: Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/tests/test_masquerading.py Add test for cooke credentials being accepted.

Stefan H. Holek stefan at epy.co.at
Mon Mar 9 07:05:26 EDT 2009


Log message for revision 97687:
  Add test for cooke credentials being accepted.

Changed:
  U   Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/tests/test_masquerading.py

-=-
Modified: Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/tests/test_masquerading.py
===================================================================
--- Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/tests/test_masquerading.py	2009-03-09 11:05:23 UTC (rev 97686)
+++ Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/tests/test_masquerading.py	2009-03-09 11:05:26 UTC (rev 97687)
@@ -353,7 +353,11 @@
         self.assertEqual(name, 'fred/wilma')
         self.assertEqual(password, 'r0ck')
 
+        # Which we can then use to access doc
+        response = self.publish(doc_path, extra={cookie_name: cookie_value})
+        self.assertEqual(response.getStatus(), 200)
 
+
 def test_suite():
     return unittest.TestSuite((
         unittest.makeSuite(SplitMasqTests),



More information about the Checkins mailing list