TestCenter Reference
TestHelper.py File Reference

Go to the source code of this file.

Classes

class  TestSupport.TestHelper.SetLoggingCallerStackFrame
 
class  TestSupport.TestHelper.SuppressedErrors
 
class  TestSupport.TestHelper.SuppressedWarnings
 
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.takeCurrentSpecialMessage ()
 
 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)
 
 TestSupport.TestHelper.regexpToString (exp)
 

Variables

bool TestSupport.TestHelper._mlab_do_not_reload = True
 
str TestSupport.TestHelper.gCurrentSpecialMessage = ""
 
str TestSupport.TestHelper.gSpecialMessageMarker = "<MLAB TC=1/>"
 
bool TestSupport.TestHelper.gEnablePrettyLogging = False
 
bool TestSupport.TestHelper.gLogInfoMessages = True
 
 TestSupport.TestHelper.IncreaseLoggingStackDepthDecorator = UseStackFrameFromCallerForLogging