Package x2go :: Package tests :: Module runalltests
[frames] | no frames]

Module runalltests

source code

This file is a default test runner as found in ZOPE/Plone products. It works fine for any kind of Python unit testing---as we do here for Python X2Go.

Variables
  base = os.path.join(os.path.split(os.path.split(os.getcwd()) [...
  TestRunner = unittest.TextTestRunner
  suite = unittest.TestSuite()
  tests = [n [:-3] for n in tests if n.startswith('test') and n....
Variables Details

base

Value:
os.path.join(os.path.split(os.path.split(os.getcwd()) [0]) [0])

tests

Value:
[n [:-3] for n in tests if n.startswith('test') and n.endswith('.py')]