TestCenter Reference
TestHelper.py File Reference

Go to the source code of this file.

Classes

class  TestSupport.TestHelper.SpecialMessage
 Stores an additional message (usually the unformatted version) with a log message. More...
 
class  TestSupport.TestHelper.SetLoggingCallerStackFrame
 
class  TestSupport.TestHelper.SuppressedErrors
 
class  TestSupport.TestHelper.SuppressedWarnings
 Helper object to supress warnings. More...
 
class  TestSupport.TestHelper.ExpectInfos
 
class  TestSupport.TestHelper.TC_ChangeSet
 
class  TestSupport.TestHelper.CancelTestException
 
class  TestSupport.TestHelper.TestHelper
 Singleton for important helper facilities for the different tests. More...
 

Namespaces

namespace  TestSupport
 A package of python modules helping to build tests.
 
namespace  TestSupport.TestHelper
 
namespace  TestHelper
 A singleton to provide important data for the testing process.
 

Functions

 TestSupport.TestHelper.emitSpecialMessage (loggingMethod, file, line, type, message, escapeHtml=True, formattedStack="")
 
 TestSupport.TestHelper.emitSpecialCommand (file, line, type, fileList, message, escapeHtml=True)
 
 TestSupport.TestHelper.UseStackFrameFromCallerForLogging (func)
 This decorator is used to specify the stack frame that is used to detect the location while logging.
 
 TestSupport.TestHelper.regexpToString (exp)
 

Variables

bool TestSupport.TestHelper._mlab_do_not_reload = True
 
bool TestSupport.TestHelper.gEnablePrettyLogging = False
 
bool TestSupport.TestHelper.gLogInfoMessages = True
 
 TestSupport.TestHelper.IncreaseLoggingStackDepthDecorator = UseStackFrameFromCallerForLogging