[Zope-CVS] CVS: Products/PluggableAuthService/plugins/tests -
test_InlineAuthHelper.py:1.1.2.2
Zachery Bir
zbir at urbanape.com
Fri Oct 15 10:46:55 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/plugins/tests
In directory cvs.zope.org:/tmp/cvs-serv28427
Modified Files:
Tag: pre-1_0_3-zbir-challenge-branch
test_InlineAuthHelper.py
Log Message:
Match the expectations of the new implementation
=== Products/PluggableAuthService/plugins/tests/test_InlineAuthHelper.py 1.1.2.1 => 1.1.2.2 ===
--- Products/PluggableAuthService/plugins/tests/test_InlineAuthHelper.py:1.1.2.1 Thu Oct 14 12:07:13 2004
+++ Products/PluggableAuthService/plugins/tests/test_InlineAuthHelper.py Fri Oct 15 10:46:54 2004
@@ -34,12 +34,15 @@
class FauxInlineResponse(FauxResponse):
def __init__(self):
- self.body = "Should never see this."
+ self.setBody("Should never see this.")
self.status = '200'
self.headers = {}
- def write(self, data):
- self.body = data
+ def setStatus(self, status, reason=None):
+ self.status = status
+
+ def setBody(self, body, *args, **kw):
+ self.body = body
class InlineAuthHelperTests( unittest.TestCase
, ILoginPasswordHostExtractionPlugin_conformance
More information about the Zope-CVS
mailing list