pwrtest
index
/data0/x7-0-0/rls/os_linux/hw_x86_64/exp/exe/pwrtest.so

ProviewR Test Python API
 
The test Python API contains a number of classes and functions
for regression test.
 
The API contains the classes
 
Log       logg message to test logfile.
 
Type help(pwrtest.Log) to get more information about
these classes.

 
Classes
       
builtins.object
Log

 
class Log(builtins.object)
    ProviewR test logger
 
The Log object represents the test logger.
 
  Methods defined here:
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).
__str__(self, /)
Return str(self).
log()
Log string to logfile.
 
Example
-------
log = pwrtest.logger('myappl','$pwrp_log/myappl.log')
log.log('E', 'Some error detected')
vlog(...)
log()
--
 
Log string to logfile with format.
 
Example
-------
log = pwrtest.logger('myappl','$pwrp_log/myappl.log')
log.vlog('E', 'Error, %s is not equal %s', str1, str2)

Static methods defined here:
__new__(*args, **kwargs) from builtins.type
Create and return a new object.  See help(type) for accurate signature.

 
Functions
       
logger(name, file)
Open logfile.
 
Arguments
---------
name String
  Name of application.
file String
  Name of logfile.
 
Example
-------
pwrtest.logger('myappl', '$pwrp_log/myappl.log')

 
Data
        FRAME_OPTIONS_CONDITION = 1