Package qm :: Package test :: Package classes :: Module python
[hide private]
[frames] | no frames]

Module python

source code

Test classes for tests written in Python.

Classes [hide private]
  ExecTest
Check that a Python expression evaluates to true.
  BaseExceptionTest
Base class for tests of exceptions.
  ExceptionTest
Check that the specified Python code raises an exception.
  StringExceptionTest
Check that the specified Python code raises a string exception.
Functions [hide private]
 
make_namespaces(context)
Construct namespaces for eval/exec of Python test code.
source code
Function Details [hide private]

make_namespaces(context)

source code 

Construct namespaces for eval/exec of Python test code.

'context' -- The test context.

returns -- A pair '(global_namespace, local_namespace)' of maps.