Logo Search packages:      
Sourcecode: zope-extendedpathindex version File versions  Download package


# Runs all tests in the current directory
# Execute like:
#   python runalltests.py
# Alternatively use the testrunner:
#   python /path/to/Zope/utilities/testrunner.py -qa

import os, sys
if __name__ == '__main__':
    execfile(os.path.join(sys.path[0], 'framework.py'))

import unittest
TestRunner = unittest.TextTestRunner
suite = unittest.TestSuite()

tests = os.listdir(os.curdir)
tests = [n[:-3] for n in tests if n.startswith('test') and n.endswith('.py')]

for test in tests:
    m = __import__(test)
    if hasattr(m, 'test_suite'):

if __name__ == '__main__':

Generated by  Doxygen 1.6.0   Back to index