pyats.aereport.testscriptinitinfo.script package¶
script
– Script¶
This module implements Script section used by TestScript.
- class pyats.aereport.testscriptinitinfo.script.Script(**kwargs)¶
Bases:
pyats.aereport.toplevel.aereportelement.AEReportElement
Script Information of clean Class based on the following schema definition
<xs:complexType name="scriptType"> <xs:sequence> <xs:element name="name"></xs:element> <xs:element name="path"></xs:element> <xs:element name="version" type="xs:string" minOccurs="0"></xs:element> </xs:sequence> </xs:complexType> OR <xs:element name="script"> <xs:complexType> <xs:sequence> <xs:element name="name"></xs:element> <xs:element name="path"></xs:element> <xs:element name="scm" minOccurs="0"></xs:element> <xs:element name="version" minOccurs="0"></xs:element> </xs:sequence> </xs:complexType> </xs:element>
- tag¶
Default value = ‘script’. This is to ensure that all elements contain a tag attribute.
- Type
- scm¶
Optional - SCM info where the test script is checked in. Only available for TestScriptInitInfo and not for Clean.
- Type
Submodules¶
cvs
– SCM¶
This module implements SCM element.
- class pyats.aereport.testscriptinitinfo.script.scm.SCM(**kwargs)¶
Bases:
pyats.aereport.toplevel.aereportelement.AEReportElement
SCM info where the test script is checked in.
Class based on the following schema definition
- ::
- <xs:element name=”scm” minOccurs=”0”>
- <xs:complexType>
- <xs:sequence>
<xs:element name=”root” type=”xs:string”></xs:element> <xs:element name=”repository” type=”xs:string”></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>