pyats.aereport.tsinitinfo.params.report package

report – Report Element

This module implements the report element for TestSuite InitInfo.

class pyats.aereport.tsinitinfo.params.report.Report

Bases: AEReportElement

Class based on the following schema definition

<xs:element name="report">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="type"></xs:element>
            <xs:element name="sort" type="xs:boolean"></xs:element>
            <xs:element name="outofrange" type="xs:boolean"></xs:element>
            <xs:element name="uniquesuites" type="xs:boolean"></xs:element>
            <xs:element name="sem"></xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
tag

Constant value = ‘report’ to be used as xml tag.

Type:

str

type

one of autotest, ats_easy, easypy, detail, or summary. In future we may add “html” type.

Type:

str

sort

Enable/disable reporting of results in sorted order

Type:

bool

outofrange

Enable/disable reporting of out of range tasks

Type:

bool

uniquesuites

Enable/disable reporting of test suites as consolidated or as unique when same suite is run multiple times with different parameters

Type:

bool

sem

SEM related configs

Type:

SEM

set_args(**kwargs)

Set params and children attributes (Report, SEM, MaxLimit)

Parameters:
  • type (str) – one of autotest, ats_easy, easypy, detail, or summary. In future we may add “html” type.

  • sort (bool) – Enable/disable reporting of results in sorted order

  • outofrange (bool) – Enable/disable reporting of out of range tasks

  • uniquesuites (bool) – Enable/disable reporting of test suites as consolidated or as unique when same suite is run multiple times with different parameters

  • sem (dict) – Sem

Submodules

sem – SEM

This module implements SEM element.

class pyats.aereport.tsinitinfo.params.report.sem.SEM(**kwargs)

Bases: AEReportElement

Class based on the following schema definition

<xs:element name="sem">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="alignment" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Enable/disable reporting of SEM alignment errors</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="traceback" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>Enable/disable reporting of SEM traceback errors</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>
tag

‘sem’

Type:

str

alignment

Enable/disable reporting of SEM alignment errors

Type:

bool

traceback

Enable/disable reporting of SEM traceback errors

Type:

bool

set_args(**kwargs)

Set params and children attributes (Report, SEM, MaxLimit)

Parameters:
  • alignment (bool) – Enable/disable reporting of SEM alignment errors

  • traceback (bool) – Enable/disable reporting of SEM traceback errors