def dut_cleanup(self): ''' DUT CleanUp Section implementation insert DUT CleanUp code for your test below ''' print('@DUT CleanUP') NE1.clean_up() self.kenvironment.krepo.stop_tps_block("EM", "1-2-3") #Please don't change the code below# if __name__ == "__main__": #initializing the Test object instance, do not remove CTEST = Test(__file__) #initializing all local variable and constants used by Test object NE1 = Eqpt1850TSS320('NE1', CTEST.kenvironment) ONT5xx = InstrumentONT('ONT5xx', CTEST.kenvironment) #ONT6xx = InstrumentONT('ONT6xx', CTEST.kenvironment) # Run Test main flow # Please don't touch this code CTEST.run() #ONT6xx.clean_up() ONT5xx.clean_up() NE1.clean_up()
def dut_cleanup(self): ''' DUT CleanUp Section implementation insert DUT CleanUp code for your test below ''' print('@DUT CleanUP') NE1.clean_up() self.kenvironment.krepo.stop_tps_block("EM", "1-2-3") #Please don't change the code below# if __name__ == "__main__": #initializing the Test object instance, do not remove CTEST = Test(__file__) #initializing all local variable and constants used by Test object NE1 = Eqpt1850TSS320('NE1', CTEST.kenvironment) #ONT5xx = InstrumentONT('ONT5xx', CTEST.kenvironment) ONT6xx = InstrumentONT('ONT6xx', CTEST.kenvironment) # Run Test main flow # Please don't touch this code CTEST.run() ONT6xx.clean_up() #ONT5xx.clean_up() NE1.clean_up()