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
0403ea4b
Commit
0403ea4b
authored
Aug 07, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test_suite() for conformance with Zope testing style
parent
f03a02bd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
lib/python/BDBStorage/tests/test_commitlog.py
lib/python/BDBStorage/tests/test_commitlog.py
+2
-2
lib/python/BDBStorage/tests/test_create.py
lib/python/BDBStorage/tests/test_create.py
+2
-2
lib/python/BDBStorage/tests/test_storage_api.py
lib/python/BDBStorage/tests/test_storage_api.py
+2
-2
lib/python/BDBStorage/tests/test_virgin.py
lib/python/BDBStorage/tests/test_virgin.py
+2
-2
lib/python/BDBStorage/tests/test_zodb_simple.py
lib/python/BDBStorage/tests/test_zodb_simple.py
+2
-2
lib/python/BDBStorage/tests/testall.py
lib/python/BDBStorage/tests/testall.py
+1
-1
No files found.
lib/python/BDBStorage/tests/test_commitlog.py
View file @
0403ea4b
...
...
@@ -226,7 +226,7 @@ class FullLogTest(BaseSetupTearDown):
def
suite
():
def
test_
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
CreateCommitLogTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
CommitLogStateTransitionTest
,
'check'
))
...
...
@@ -238,4 +238,4 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
unittest
.
main
(
defaultTest
=
'
test_
suite'
)
lib/python/BDBStorage/tests/test_create.py
View file @
0403ea4b
...
...
@@ -56,7 +56,7 @@ class FullOpenExistingTest(BerkeleyTestBase.BerkeleyTestBase,
def
suite
():
def
test_
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
MinimalCreateTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
FullCreateTest
,
'check'
))
...
...
@@ -66,4 +66,4 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
unittest
.
main
(
defaultTest
=
'
test_
suite'
)
lib/python/BDBStorage/tests/test_storage_api.py
View file @
0403ea4b
...
...
@@ -41,7 +41,7 @@ class FullTest(BerkeleyTestBase.FullTestBase, BasicStorage, VersionStorage,
def
suite
():
def
test_
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
MinimalTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
FullTest
,
'check'
))
...
...
@@ -50,4 +50,4 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
unittest
.
main
(
defaultTest
=
'
test_
suite'
)
lib/python/BDBStorage/tests/test_virgin.py
View file @
0403ea4b
...
...
@@ -30,7 +30,7 @@ class MinimalNewInsertsTest(ZODBTestBase, InsertMixin):
def
suite
():
def
test_
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
MinimalNewInsertsTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
FullNewInsertsTest
,
'check'
))
...
...
@@ -39,4 +39,4 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
unittest
.
main
(
defaultTest
=
'
test_
suite'
)
lib/python/BDBStorage/tests/test_zodb_simple.py
View file @
0403ea4b
...
...
@@ -61,7 +61,7 @@ class FullCommitAndRead(ZODBTestBase, CommitAndRead):
def
suite
():
def
test_
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
MinimalCommitAndRead
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
FullCommitAndRead
,
'check'
))
...
...
@@ -70,4 +70,4 @@ def suite():
if
__name__
==
'__main__'
:
unittest
.
main
(
defaultTest
=
'suite'
)
unittest
.
main
(
defaultTest
=
'
test_
suite'
)
lib/python/BDBStorage/tests/testall.py
View file @
0403ea4b
...
...
@@ -10,7 +10,7 @@ def suite():
alltests
=
unittest
.
TestSuite
()
for
modname
in
MODULES
:
mod
=
__import__
(
'test_'
+
modname
)
alltests
.
addTest
(
mod
.
suite
())
alltests
.
addTest
(
mod
.
test_
suite
())
return
alltests
...
...
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