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
1cafbaf9
Commit
1cafbaf9
authored
Apr 12, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed Python 2.1-centric tests for now until fair warning is
given for the trunk
parent
2bb63e11
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
1651 deletions
+0
-1651
lib/Components/ExtensionClass/test/testAcquisition.py
lib/Components/ExtensionClass/test/testAcquisition.py
+0
-43
lib/Components/ExtensionClass/test/testExtensionClass.py
lib/Components/ExtensionClass/test/testExtensionClass.py
+0
-1608
No files found.
lib/Components/ExtensionClass/test/testAcquisition.py
deleted
100644 → 0
View file @
2bb63e11
"""Acquisition unit tests."""
from
testExtensionClass
import
MagicMethodTests
from
Acquisition
import
Implicit
from
Acquisition
import
Explicit
from
operator
import
truth
import
unittest
,
string
class
ImplicitWrapperTests
(
MagicMethodTests
):
"""Implicit acquisition wrapper tests."""
BaseClass
=
Implicit
def
fixup_inst
(
self
,
object
):
"""Create a simple acquisition chain."""
class
GenericWrapper
(
self
.
BaseClass
):
pass
parent
=
GenericWrapper
()
parent
.
object
=
object
return
parent
.
object
class
ExplicitWrapperTests
(
ImplicitWrapperTests
):
"""Explicit acquisition wrapper tests."""
BaseClass
=
Explicit
def
test_suite
():
suite_01
=
unittest
.
makeSuite
(
ImplicitWrapperTests
)
suite_02
=
unittest
.
makeSuite
(
ExplicitWrapperTests
)
return
unittest
.
TestSuite
((
suite_01
,
suite_02
))
def
main
():
unittest
.
TextTestRunner
().
run
(
test_suite
())
if
__name__
==
'__main__'
:
main
()
lib/Components/ExtensionClass/test/testExtensionClass.py
deleted
100644 → 0
View file @
2bb63e11
This diff is collapsed.
Click to expand it.
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