
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1888 fd906abe-77d9-0310-91a1-e0d9ade77398
29 lines
847 B
Python
Executable file
29 lines
847 B
Python
Executable file
# $Id$
|
|
|
|
import unittest
|
|
import doctest
|
|
|
|
import cybertools.util.property
|
|
|
|
|
|
class Test(unittest.TestCase):
|
|
"Basic tests for modules in the util package."
|
|
|
|
def testBasicStuff(self):
|
|
pass
|
|
|
|
|
|
def test_suite():
|
|
flags = doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
|
|
return unittest.TestSuite((
|
|
#unittest.makeSuite(Test), # we don't need this
|
|
#doctest.DocTestSuite(cybertools.util.property, optionflags=flags),
|
|
doctest.DocFileSuite('adapter.txt', optionflags=flags),
|
|
doctest.DocFileSuite('defer.txt', optionflags=flags),
|
|
doctest.DocFileSuite('property.txt', optionflags=flags),
|
|
doctest.DocFileSuite('jeep.txt', optionflags=flags),
|
|
doctest.DocFileSuite('randomname.txt', optionflags=flags),
|
|
))
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main(defaultTest='test_suite')
|