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
46209156
Commit
46209156
authored
Apr 08, 2007
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test suites.
parent
5e58f341
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
lib/python/Products/Five/formlib/tests/test_formlib.py
lib/python/Products/Five/formlib/tests/test_formlib.py
+3
-3
lib/python/Products/Five/tests/test_registerpackage.py
lib/python/Products/Five/tests/test_registerpackage.py
+3
-4
No files found.
lib/python/Products/Five/formlib/tests/test_formlib.py
View file @
46209156
...
...
@@ -22,10 +22,10 @@ if __name__ == '__main__':
def
test_suite
():
import
unittest
from
Testing.ZopeTestCase
import
FunctionalDocFileSuite
return
unittest
.
TestSuite
(
return
unittest
.
TestSuite
(
(
FunctionalDocFileSuite
(
'formlib.txt'
,
package
=
'Products.Five.formlib.tests'
)
)
'formlib.txt'
,
package
=
'Products.Five.formlib.tests'
)
,
)
)
if
__name__
==
'__main__'
:
framework
()
lib/python/Products/Five/tests/test_registerpackage.py
View file @
46209156
...
...
@@ -77,10 +77,9 @@ def test_registerPackage():
def
test_suite
():
from
zope.testing.doctest
import
DocTestSuite
return
DocTestSuite
()
#from Testing.ZopeTestCase import ZopeDocTestSuite
#return ZopeDocTestSuite()
# Must use functional because registerPackage commits
from
Testing.ZopeTestCase
import
FunctionalDocTestSuite
return
FunctionalDocTestSuite
()
if
__name__
==
'__main__'
:
framework
()
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