Back to index

plone3  3.1.7
Classes | Functions | Variables
Archetypes.tests.test_baseunit Namespace Reference

Classes

class  BaseUnitTest
class  BaseUnitTestSubclass

Functions

def test_suite

Variables

list tests = []
tuple input_files = glob.glob(os.path.join(PACKAGE_HOME, "input", "rest*.rst"))
tuple fname = os.path.split(f)
tuple outname = os.path.join(PACKAGE_HOME, "output", '%s.out' % fname.split('.')[0])

Function Documentation

Definition at line 90 of file test_baseunit.py.

00090 
00091 def test_suite():
00092     from unittest import TestSuite, makeSuite
00093     suite = TestSuite()
00094     for test in tests:
00095         suite.addTest(makeSuite(test))
00096     return suite

Variable Documentation

tuple Archetypes.tests.test_baseunit.fname = os.path.split(f)

Definition at line 80 of file test_baseunit.py.

tuple Archetypes.tests.test_baseunit.input_files = glob.glob(os.path.join(PACKAGE_HOME, "input", "rest*.rst"))

Definition at line 78 of file test_baseunit.py.

tuple Archetypes.tests.test_baseunit.outname = os.path.join(PACKAGE_HOME, "output", '%s.out' % fname.split('.')[0])

Definition at line 81 of file test_baseunit.py.

Definition at line 76 of file test_baseunit.py.