[Zope3-checkins]
SVN: Zope3/branches/testbrowser-integration/src/zope/testbrowser/
Remove unneccesary references to mechanize;
mechanize is just an implementation
Benji York
benji at zope.com
Sat Jul 30 00:44:34 EDT 2005
Log message for revision 37592:
Remove unneccesary references to mechanize; mechanize is just an implementation
detail. I don't want to give people the impression that the mechanize API is
used.
Changed:
U Zope3/branches/testbrowser-integration/src/zope/testbrowser/browser.py
U Zope3/branches/testbrowser-integration/src/zope/testbrowser/interfaces.py
U Zope3/branches/testbrowser-integration/src/zope/testbrowser/testing.py
-=-
Modified: Zope3/branches/testbrowser-integration/src/zope/testbrowser/browser.py
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/testbrowser/browser.py 2005-07-30 03:15:31 UTC (rev 37591)
+++ Zope3/branches/testbrowser-integration/src/zope/testbrowser/browser.py 2005-07-30 04:44:34 UTC (rev 37592)
@@ -24,7 +24,7 @@
class Browser(object):
- """A Test Browser based on ``mechanize``."""
+ """A web user agent."""
zope.interface.implements(interfaces.IBrowser)
def __init__(self, url=None, mech_browser=None):
Modified: Zope3/branches/testbrowser-integration/src/zope/testbrowser/interfaces.py
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/testbrowser/interfaces.py 2005-07-30 03:15:31 UTC (rev 37591)
+++ Zope3/branches/testbrowser-integration/src/zope/testbrowser/interfaces.py 2005-07-30 04:44:34 UTC (rev 37592)
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""Mechanize-based Functional Doctest interfaces
+"""Browser-like functional doctest interfaces
$Id$
"""
Modified: Zope3/branches/testbrowser-integration/src/zope/testbrowser/testing.py
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/testbrowser/testing.py 2005-07-30 03:15:31 UTC (rev 37591)
+++ Zope3/branches/testbrowser-integration/src/zope/testbrowser/testing.py 2005-07-30 04:44:34 UTC (rev 37592)
@@ -77,7 +77,7 @@
headers = self.response.header_output.headersl
real_response = self.response._response
status = real_response.getStatus()
- reason = real_response._reason # XXX should add a getReason method
+ reason = real_response._reason # XXX add a getReason method
output = (real_response.getHeaderText(real_response.getHeaders()) +
self.response.getBody())
return PublisherResponse(output, status, reason)
More information about the Zope3-Checkins
mailing list