[Zope-Checkins] CVS: Zope/lib/python/ZPublisher/tests -
testBaseRequest.py:1.5
Jeremy Hylton
jeremy at zope.com
Fri Feb 27 14:38:34 EST 2004
Update of /cvs-repository/Zope/lib/python/ZPublisher/tests
In directory cvs.zope.org:/tmp/cvs-serv23491
Modified Files:
testBaseRequest.py
Log Message:
cleanup and typos
=== Zope/lib/python/ZPublisher/tests/testBaseRequest.py 1.4 => 1.5 ===
--- Zope/lib/python/ZPublisher/tests/testBaseRequest.py:1.4 Fri Feb 27 14:35:50 2004
+++ Zope/lib/python/ZPublisher/tests/testBaseRequest.py Fri Feb 27 14:38:33 2004
@@ -6,39 +6,33 @@
class DummyObjectBasic(Implicit):
- """ Dummy class with docstring.
- """
+ """Dummy class with docstring."""
def _setObject(self, id, object):
setattr(self, id, object)
return getattr(self, id)
def view(self):
- """ Atrribute with docstring.
- """
+ """Attribute with docstring."""
return 'view content'
class DummyObjectWithDefault(DummyObjectBasic):
- """ Dummy class with docstring.
- """
+ """Dummy class with docstring."""
def index_html(self):
- """ Atrribute with docstring.
- """
+ """Attribute with docstring."""
return 'index_html content'
class DummyObjectWithDefaultNone(DummyObjectWithDefault):
- """ Dummy class with docstring.
- """
+ """Dummy class with docstring."""
index_html = None
class DummyObjectWithBPTH(DummyObjectBasic):
- """ Dummy class with docstring.
- """
+ """Dummy class with docstring."""
def __before_publishing_traverse__(self, object, REQUEST):
if REQUEST['_test_counter'] < 100:
@@ -50,8 +44,7 @@
class DummyObjectWithBD(DummyObjectBasic):
- """ Dummy class with docstring.
- """
+ """Dummy class with docstring."""
def __browser_default__(self, REQUEST):
if REQUEST['_test_counter'] < 100:
More information about the Zope-Checkins
mailing list