pyats.aetest.reporter package

Submodules

class pyats.aetest.reporter.aereport.AEReportDetails(client)

Bases: logging.Handler

Logging handler to be used by AEReporter only. This handler is added to root for catching WARNING, ERROR and CRITICAL messages, converting them into detail entries in the report automatically.

Note that the leve checking occurs at logging infrastructure level: Logger.callHandlers() checks each handler’s log level, and only passes records when the levels match. Eg, we only need to set the levels correctly.

__init__

instantiates handler by hard-coding this handler’s level to WARNING and above.

Parameters

(obj) (client) –

emit(record)

api called by logger while handling LogRecord objects. This is where the log message is auto passed to the client.

class pyats.aetest.reporter.aereport.AEReporter(client, runinfo_dir, task_id)

Bases: pyats.aetest.reporter.base.BaseRootReporter

child(section)
property logfile
taskresults(section)
class pyats.aetest.reporter.aereport.SectionReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.aereport.TaskReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.base.BaseRootReporter

Bases: object

child(section)
log_summary()
class pyats.aetest.reporter.base.BaseSectionReporter(section, parent=None)

Bases: object

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SACommonCleanupReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SACommonSetupReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SAProcessorReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

start(num, processor_type=None)
stop()
class pyats.aetest.reporter.default.SASectionReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SAStepReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SASubsectionReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SATestcaseReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
processor(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.SATestscriptReporter(section, parent=None)

Bases: pyats.aetest.reporter.base.BaseSectionReporter

child(section)
start()
stop(exc_type=None, exc_value=None, traceback=None)
class pyats.aetest.reporter.default.StandaloneReporter

Bases: pyats.aetest.reporter.base.BaseRootReporter

child(section)
log_summary()
pyats.aetest.reporter.default.build_tree(section, parent_node, level=0)

Builds a tree for displaying items mimicking linux tree command.