def setup_class(cls): # Test object will parse command line and formulate the env Test_lldp_configuration.testObj = \ testEnviron(topoDict=topoDict, defSwitchContext="vtyShell") # Get topology object Test_lldp_configuration.topoObj = \ Test_lldp_configuration.testObj.topoObjGet()
def setup_class(cls): # Create Topology object and connect to devices Test_showtech.testObj = testEnviron(topoDict=topoDict) Test_showtech.topoObj = \ Test_showtech.testObj.topoObjGet() # Global variables global dut01Obj dut01Obj = cls.topoObj.deviceObjGet(device="dut01")
def setup_class(cls): # Create Topology object and connect to devices Test_ft_evtlog_feature.testObj = \ testEnviron(topoDict=topoDict) Test_ft_evtlog_feature.topoObj = \ Test_ft_evtlog_feature.testObj.topoObjGet()