Package pyxmpp2 :: Package test :: Module _support
[hide private]

Module _support

Support functions for pyxmpp2 test suite.
Functions [hide private]
 
stack_dumper()
 
setup_logging()
Set up logging for the tests.
 
filter_tests(suite)
Make a new TestSuite from suite, removing test classes with names starting with '_'.
 
load_tests(loader, tests, pattern)
Use default test list, just remove the classes which names start with '_'.
Variables [hide private]
  TEST_DIR = '/tmp/B.GfzluF/BUILD/pyxmpp2-2.0.1/pyxmpp2/test'
  DATA_DIR = '/tmp/B.GfzluF/BUILD/pyxmpp2-2.0.1/pyxmpp2/test/data'
  RESOURCES = ['network', 'lo-network', 'gsasl']
  thr = threading.Thread(target= stack_dumper)
  logging_ready = False
Function Details [hide private]

setup_logging()

 

Set up logging for the tests.

Log level used depends on number of '-v' in sys.argv