[html4strict] h
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- <table>
- <thead>
- <tr>
- <td>testsuite.starttime</td>
- <td>testsuite.initinfo.name</td>
- <td>testsuite.initinfo.params.cli</td>
- <td>testsuite.initinfo.params.mailto</td>
- <td>testsuite.initinfo.params.report.type</td>
- <td>testsuite.initinfo.params.report.sort</td>
- <td>testsuite.initinfo.params.report.outofrange</td>
- <td>testsuite.initinfo.params.report.uniquesuites</td>
- <td>testsuite.initinfo.params.report.count_common_result_summary</td>
- <td>testsuite.initinfo.params.report.sem</td>
- <td>testsuite.initinfo.params.rerun</td>
- <td>testsuite.initinfo.params.cleantype</td>
- <td>testsuite.initinfo.params.uniquetid</td>
- <td>testsuite.initinfo.params.max.errors</td>
- <td>testsuite.initinfo.params.max.jobs</td>
- <td>testsuite.initinfo.params.reason</td>
- <td>testsuite.initinfo.params.tidRange</td>
- <td>testsuite.initinfo.jobid</td>
- <td>testsuite.initinfo.ats.path</td>
- <td>testsuite.initinfo.ats.version</td>
- <td>testsuite.initinfo.CONFIG</td>
- <td>testsuite.initinfo.host</td>
- <td>testsuite.initinfo.owner</td>
- <td>testsuite.initinfo.submitter</td>
- <td>testsuite.initinfo.user</td>
- <td>testsuite.initinfo.topology</td>
- <td>testsuite.initinfo.logfile._begin</td>
- <td>testsuite.initinfo.logfile._size</td>
- <td>testsuite.initinfo.tbautoselect</td>
- <td>testsuite.initinfo.release</td>
- <td>testsuite.initinfo.image</td>
- <td>testsuite.initinfo.testbed</td>
- <td>testsuite.jobexecution.starttime</td>
- <td>testsuite.jobexecution.runinfo</td>
- <td>testsuite.jobexecution.testscript.starttime</td>
- <td>testsuite.jobexecution.testscript.initinfo.script.name</td>
- <td>testsuite.jobexecution.testscript.initinfo.script.path</td>
- <td>testsuite.jobexecution.testscript.initinfo.pargs</td>
- <td>testsuite.jobexecution.testscript.initinfo.taskid</td>
- <td>testsuite.jobexecution.testscript.initinfo.description</td>
- <td>testsuite.jobexecution.testscript.initinfo.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.initinfo.logfile._size</td>
- <td>testsuite.jobexecution.testscript.initinfo.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.runinfo</td>
- <td>testsuite.jobexecution.testscript.commonSetup.starttime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.name</td>
- <td>testsuite.jobexecution.testscript.commonSetup.description</td>
- <td>testsuite.jobexecution.testscript.commonSetup.xref.file</td>
- <td>testsuite.jobexecution.testscript.commonSetup.xref.line</td>
- <td>testsuite.jobexecution.testscript.commonSetup.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.commonSetup.logfile._size</td>
- <td>testsuite.jobexecution.testscript.commonSetup.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.runinfo</td>
- <td>testsuite.jobexecution.testscript.commonSetup.result._mode</td>
- <td>testsuite.jobexecution.testscript.commonSetup.result.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.stoptime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.runtime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].starttime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].xref.file</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].xref.line</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id.tc</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id._md5</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].id._name</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].name</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].description</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile._begin</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile._size</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].logfile.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].runinfo</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].result._mode</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].result.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].stoptime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].runtime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[0].extra</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].starttime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].xref.file</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].xref.line</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id.tc</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id._md5</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].id._name</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].name</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].description</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile._begin</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile._size</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].logfile.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].runinfo</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].result._mode</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].result.__text</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].stoptime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].runtime</td>
- <td>testsuite.jobexecution.testscript.commonSetup.subSection[1].extra</td>
- <td>testsuite.jobexecution.testscript.testcase.starttime</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.id.tc</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.id._md5</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.id._name</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.name</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.xref.file</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.xref.line</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.description</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.swversion</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.hwversion</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.fwversion</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.tstversion</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile._size</td>
- <td>testsuite.jobexecution.testscript.testcase.initinfo.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.runinfo</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.starttime</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.name</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.description</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.xref.file</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.xref.line</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.logfile._size</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.runinfo</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.result._mode</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.result.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.stoptime</td>
- <td>testsuite.jobexecution.testscript.testcase.setup.runtime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].starttime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].name</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].description</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].xref.file</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].xref.line</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].logfile._begin</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].logfile._size</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].logfile.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].runinfo</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].result._mode</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].result.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].stoptime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[0].runtime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].starttime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].name</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].description</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].xref.file</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].xref.line</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].logfile._begin</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].logfile._size</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].logfile.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].runinfo</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].result._mode</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].result.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].stoptime</td>
- <td>testsuite.jobexecution.testscript.testcase.section[1].runtime</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.starttime</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.name</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.description</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.xref.file</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.xref.line</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile._size</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.runinfo</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.result._mode</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.result.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.stoptime</td>
- <td>testsuite.jobexecution.testscript.testcase.cleanup.runtime</td>
- <td>testsuite.jobexecution.testscript.testcase.result._mode</td>
- <td>testsuite.jobexecution.testscript.testcase.result.__text</td>
- <td>testsuite.jobexecution.testscript.testcase.stoptime</td>
- <td>testsuite.jobexecution.testscript.testcase.runtime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.starttime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.name</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.description</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.xref.file</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.xref.line</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.logfile._size</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.runinfo</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.result._mode</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.result.__text</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.stoptime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.runtime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.starttime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.xref.file</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.xref.line</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id.tc</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id._md5</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.id._name</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.name</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.description</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile._begin</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile._size</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.logfile.__text</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.runinfo</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.result._mode</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.result.__text</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.stoptime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.runtime</td>
- <td>testsuite.jobexecution.testscript.commonCleanup.subSection.extra</td>
- <td>testsuite.jobexecution.testscript.stoptime</td>
- <td>testsuite.jobexecution.testscript.runtime</td>
- <td>testsuite.jobexecution.testscript.summary.abort</td>
- <td>testsuite.jobexecution.testscript.summary.pass</td>
- <td>testsuite.jobexecution.testscript.summary.passx</td>
- <td>testsuite.jobexecution.testscript.summary.fail</td>
- <td>testsuite.jobexecution.testscript.summary.block</td>
- <td>testsuite.jobexecution.testscript.summary.skip</td>
- <td>testsuite.jobexecution.testscript.summary.error</td>
- <td>testsuite.jobexecution.testscript.summary.never_ran</td>
- <td>testsuite.jobexecution.testscript.summary.unknown</td>
- <td>testsuite.jobexecution.testscript.summary.total</td>
- <td>testsuite.jobexecution.testscript.summary.success_rate</td>
- <td>testsuite.jobexecution.result._mode</td>
- <td>testsuite.jobexecution.stoptime</td>
- <td>testsuite.jobexecution.runtime</td>
- <td>testsuite.tims.dnsname</td>
- <td>testsuite.tims.post.status</td>
- <td>testsuite.tims.post.cmd</td>
- <td>testsuite.tims._bgPost</td>
- <td>testsuite.runinfo</td>
- <td>testsuite.archivefile</td>
- <td>testsuite.stoptime</td>
- <td>testsuite.runtime</td>
- <td>testsuite.summary.abort</td>
- <td>testsuite.summary.pass</td>
- <td>testsuite.summary.passx</td>
- <td>testsuite.summary.fail</td>
- <td>testsuite.summary.block</td>
- <td>testsuite.summary.skip</td>
- <td>testsuite.summary.error</td>
- <td>testsuite.summary.never_ran</td>
- <td>testsuite.summary.unknown</td>
- <td>testsuite.summary.total</td>
- <td>testsuite.summary.success_rate</td>
- <td>_xmlns</td>
- <td>_xmlns:schemaLocation</td>
- <td>_xmlns:xsi</td>
- </tr>
- </thead>
- <tr>
- <td>2021-09-24T16:46:45,job,/root/pyats/bin/pyats run job job.py,,,0,0,0,1,,0,easyclean,0,10,-1,,,job.2021Sep24_16:46:42.651540,/root/pyats,21.8.1,,hcl.turbo,,root,root,,0,-1,,,,,2021-09-24T16:46:45,,2021-09-24T16:46:45,hellow.py,/root/pyats,,Task-1,"Basic Example Script</td>
- </tr>
- <tr>
- <td>--------------------</td>
- </tr>
- <tr>
- <td>A very simple test script example which include:</td>
- </tr>
- <tr>
- <td>common_setup</td>
- </tr>
- <tr>
- <td>testcases</td>
- </tr>
- <tr>
- <td>common_cleanup</td>
- </tr>
- <tr>
- <td>The purpose of this sample test script is to demonstrate</td>
- </tr>
- <tr>
- <td>""hello world"" in aetest.</td>
- </tr>
- <tr>
- <td>You can run this script directly as:</td>
- </tr>
- <tr>
- <td>$ python basic_example_script.py",0,-1,TaskLog.Task-1,,2021-09-24T16:46:45,commonSetup,"Common Setup Section</td>
- </tr>
- <tr>
- <td>Each script may only have a single common setup section.</td>
- </tr>
- <tr>
- <td>Common setup section is always run as the first section in a test script</td>
- <td></td>
- </tr>
- <tr>
- <td>and serves to perform all the ""common"" setups required for your script.</td>
- </tr>
- <tr>
- <td>Define a common setup section by subclassing aetest.CommonSetup class.</td>
- </tr>
- <tr>
- <td>It's a good convention to name it 'common_setup'</td>
- <td>as this section's</td>
- </tr>
- <tr>
- <td>reporting ID is always 'common_setup'.</td>
- </tr>
- <tr>
- <td>Each common setup may have 1+ subsections. Consider a subsection as a</td>
- </tr>
- <tr>
- <td>setup 'milestone/step'. A subsection is defined using @aetest.subsection</td>
- </tr>
- <tr>
- <td>decorator on a method.",/root/pyats/hellow.py,21,0,2139,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,/root/pyats/hellow.py,34,subsection_1,,subsection_1,subsection_1,example subsection one,516,739,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,{},2021-09-24T16:46:45,/root/pyats/hellow.py,40,subsection_2,,subsection_2,subsection_2,"if the special 'section' keyword argument is defined in the subsection</td>
- </tr>
- <tr>
- <td>method</td>
- <td>the current running subsection will be passed in.",1255,764,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,{},2021-09-24T16:46:45,Testcase_One,,Testcase_One,Testcase_One,/root/pyats/hellow.py,49,"Testcases</td>
- </tr>
- <tr>
- <td>Testcases are the bread and butter of test automation. Each testcase should</td>
- </tr>
- <tr>
- <td>be a self-contained individual unit of testing</td>
- <td>and are independent from</td>
- </tr>
- <tr>
- <td>other testcases (eg</td>
- <td>testcases should be runnable out-of-order).</td>
- </tr>
- <tr>
- <td>Define a testcase by subclassing from aetest.Testcase and provide a</td>
- </tr>
- <tr>
- <td>meaningful class name - this will be used as the testcase's reporting ID.</td>
- </tr>
- <tr>
- <td>Each testcase may contain:</td>
- </tr>
- <tr>
- <td>- 1 x setup section</td>
- </tr>
- <tr>
- <td>- n x tests section</td>
- </tr>
- <tr>
- <td>- 1 x cleanup section</td>
- </tr>
- <tr>
- <td></td>
- </tr>
- <tr>
- <td>Within each testcase</td>
- <td>the class instance is perserved and reused for each</td>
- </tr>
- <tr>
- <td>section execution. Eg: self points to the same instance while this testcase</td>
- </tr>
- <tr>
- <td>runs. This is an important property of AEtest testcases.",None,None,None,None,2139,3852,TaskLog.Task-1,,2021-09-24T16:46:45,setup,"setup section</td>
- </tr>
- <tr>
- <td>create a setup section by defining a method and decorating it with</td>
- </tr>
- <tr>
- <td>@aetest.setup decorator. The method should be named 'setup' as good</td>
- </tr>
- <tr>
- <td>convention.</td>
- </tr>
- <tr>
- <td>setup sections are optional within a testcase</td>
- <td>and is always runs first.",/root/pyats/hellow.py,66,2661,763,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,test_1,"test section</td>
- </tr>
- <tr>
- <td>create a test section by defining a method and decorating it with</td>
- </tr>
- <tr>
- <td>@aetest.test decorator. The name of the method becomes the unique id</td>
- </tr>
- <tr>
- <td>labelling this test. There may be arbitrary number of tests within a</td>
- </tr>
- <tr>
- <td>testcase.</td>
- </tr>
- <tr>
- <td>test sections run in the order they appear within a testcase body.",/root/pyats/hellow.py,80,3424,770,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,test_2,"you can also provide explicit results</td>
- <td>reason and data using result API.</td>
- </tr>
- <tr>
- <td>These information will be captured in the result summary.",/root/pyats/hellow.py,94,4194,904,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,cleanup,"cleanup section</td>
- </tr>
- <tr>
- <td>create a cleanup section by defining a method a decorating it with</td>
- </tr>
- <tr>
- <td>@aetest.cleanup decorator. This method should be named 'cleanup' as good</td>
- </tr>
- <tr>
- <td>convention.</td>
- </tr>
- <tr>
- <td>cleanup sections are optional within a testcase</td>
- <td>and is always run last.",/root/pyats/hellow.py,109,5098,764,TaskLog.Task-1,,auto,passed,2021-09-24T16:46:45,00:00:00,auto,passed,2021-09-24T16:46:45,00:00:00,2021-09-24T16:46:45,commonCleanup,"Common Cleanup Section</td>
- </tr>
- <tr>
- <td>Each script may only have a single common cleanup section.</td>
- </tr>
- <tr>
- <td>Common cleanup section is always run as the last section in a test script</td>
- <td></td>
- </tr>
- <tr>
- <td>and serves to perform all the ""common"" cleanups required for your script.</td>
- </tr>
- <tr>
- <td>In addition</td>
- <td>common-cleanup section should act as the safety net: in case</td>
- </tr>
- <tr>
- <td>of dramatic testcase failures</td>
- <td>common cleanup section should be able to</td>
- </tr>
- <tr>
- <td>cleanup the lingering mess left behind in the testbed/devices under test.</td>
- </tr>
- <tr>
- <td>Define a common cleanup section by subclassing aetest.CommonCleanup class.</td>
- </tr>
- <tr>
- <td>It's a good convention to name it 'common_cleanup'</td>
- <td>as this section's</td>
- </tr>
- <tr>
- <td>reporting ID is always 'common_cleanup'.</td>
- </tr>
- <tr>
- <td>Similar to its counterpart</td>
- <td>common cleanup may have 1+ subsections.</td>
- </tr>
- <tr>
- <td>Consider a subsection as a cleanup 'milestone/step'. A subsection is defined</td>
- </tr>
- <tr>
- <td>using @aetest.subsection decorator on a method."</td>
- <td>/root/pyats/hellow.py</td>
- <td>119</td>
- <td>5991</td>
- <td>1395</td>
- <td>TaskLog.Task-1</td>
- <td></td>
- <td>auto</td>
- <td>passed</td>
- <td>2021-09-24T16:46:45</td>
- <td>00:00:00</td>
- <td>2021-09-24T16:46:45</td>
- <td>/root/pyats/hellow.py</td>
- <td>140</td>
- <td>clean_everything</td>
- <td></td>
- <td>clean_everything</td>
- <td>clean_everything</td>
- <td>one subsection for simplicity</td>
- <td>6513</td>
- <td>751</td>
- <td>TaskLog.Task-1</td>
- <td></td>
- <td>auto</td>
- <td>passed</td>
- <td>2021-09-24T16:46:45</td>
- <td>00:00:00</td>
- <td>{}</td>
- <td>2021-09-24T16:46:45</td>
- <td>00:00:00</td>
- <td>0</td>
- <td>3</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>3</td>
- <td>100.0</td>
- <td>auto</td>
- <td>2021-09-24T16:46:45</td>
- <td>00:00:00</td>
- <td></td>
- <td></td>
- <td></td>
- <td>False</td>
- <td></td>
- <td>/root/.pyats/archive/21-Sep/job.2021Sep24_16:46:42.651540.zip</td>
- <td>2021-09-24T16:46:45</td>
- <td>00:00:00</td>
- <td>0</td>
- <td>3</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>0</td>
- <td>3</td>
- <td>100.0</td>
- <td>http://wwwin-ats.cisco.com/xml/schema/aereport</td>
- <td>http://wwwin-ats.cisco.com/xml/schema/aereport.xsd</td>
- <td>http://www.w3.org/2001/XMLSchema-instance</td>
- </tr>
- <tr>
- <td></td>
- </tr>
- </table>
Editor
You can edit this paste and save as new: