Commit 46209156 authored by Stefan H. Holek's avatar Stefan H. Holek

Fix test suites.

parent 5e58f341
......@@ -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()
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment