Пример #1
0
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
Пример #2
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
Пример #3
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'))
Пример #4
0
 def test_setup(self):
     logInfo('This is a passed case in setup: %s' % testConfig(self, 'ixia.portList'))
Пример #5
0
 def test_teardown(self):
     logInfo('This is a passed case in teardown')
Пример #6
0
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