Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8413ccb7
Commit
8413ccb7
authored
Feb 27, 2004
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup and typos
parent
4356fa64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
lib/python/ZPublisher/tests/testBaseRequest.py
lib/python/ZPublisher/tests/testBaseRequest.py
+7
-14
No files found.
lib/python/ZPublisher/tests/testBaseRequest.py
View file @
8413ccb7
...
@@ -6,39 +6,33 @@ from ZPublisher.HTTPResponse import HTTPResponse
...
@@ -6,39 +6,33 @@ from ZPublisher.HTTPResponse import HTTPResponse
class
DummyObjectBasic
(
Implicit
):
class
DummyObjectBasic
(
Implicit
):
""" Dummy class with docstring.
"""Dummy class with docstring."""
"""
def
_setObject
(
self
,
id
,
object
):
def
_setObject
(
self
,
id
,
object
):
setattr
(
self
,
id
,
object
)
setattr
(
self
,
id
,
object
)
return
getattr
(
self
,
id
)
return
getattr
(
self
,
id
)
def
view
(
self
):
def
view
(
self
):
""" Atrribute with docstring.
"""Attribute with docstring."""
"""
return
'view content'
return
'view content'
class
DummyObjectWithDefault
(
DummyObjectBasic
):
class
DummyObjectWithDefault
(
DummyObjectBasic
):
""" Dummy class with docstring.
"""Dummy class with docstring."""
"""
def
index_html
(
self
):
def
index_html
(
self
):
""" Atrribute with docstring.
"""Attribute with docstring."""
"""
return
'index_html content'
return
'index_html content'
class
DummyObjectWithDefaultNone
(
DummyObjectWithDefault
):
class
DummyObjectWithDefaultNone
(
DummyObjectWithDefault
):
""" Dummy class with docstring.
"""Dummy class with docstring."""
"""
index_html
=
None
index_html
=
None
class
DummyObjectWithBPTH
(
DummyObjectBasic
):
class
DummyObjectWithBPTH
(
DummyObjectBasic
):
""" Dummy class with docstring.
"""Dummy class with docstring."""
"""
def
__before_publishing_traverse__
(
self
,
object
,
REQUEST
):
def
__before_publishing_traverse__
(
self
,
object
,
REQUEST
):
if
REQUEST
[
'_test_counter'
]
<
100
:
if
REQUEST
[
'_test_counter'
]
<
100
:
...
@@ -50,8 +44,7 @@ class DummyObjectWithBPTH(DummyObjectBasic):
...
@@ -50,8 +44,7 @@ class DummyObjectWithBPTH(DummyObjectBasic):
class
DummyObjectWithBD
(
DummyObjectBasic
):
class
DummyObjectWithBD
(
DummyObjectBasic
):
""" Dummy class with docstring.
"""Dummy class with docstring."""
"""
def
__browser_default__
(
self
,
REQUEST
):
def
__browser_default__
(
self
,
REQUEST
):
if
REQUEST
[
'_test_counter'
]
<
100
:
if
REQUEST
[
'_test_counter'
]
<
100
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment