def test_vlan_2(): logInfo('------ got inside test_vlan_2 -----') #logMsg('info', '----- variable %s' % config('ixia.portList')) #testObj.beginTestcase(inspect.stack()[0][3]) #testObj.log('info', 'Server 1 IP: %s' % testObj.config['server1.ip']) #testObj.endTestcase() return 0
def test_vlan_1(port): logError('------ got inside test_vlan.py.test_vlan_1 -----') logInfo('----- variable %s' % port) #for i in range(0, 2): #testObj.log('error', 'for loop: %s' % i) #testObj.endTestcase() return 0
def test_setup (self): #vlan.test_setup() #logMsg('info', 'This is a passed case in setup: %s' % testConfig(self, 'ixia.portList')) logInfo('This is a passed case in setup: %s' % testConfig(self, 'ixia.portList'))
def test_setup(self): logInfo('This is a passed case in setup: %s' % testConfig(self, 'ixia.portList'))
def test_teardown(self): logInfo('This is a passed case in teardown')
def test_vlan_3(): logInfo('------ got inside test_vlan_3 -----') #testObj.beginTestcase(inspect.stack()[0][3]) #testObj.log('info', 'Server 1 name: %s' % testObj.config['server1.name']) #testObj.endTestcase() return 0