Exemplo n.º 1
0
 def __init__(self, task, testConfig):
     baseTest.__init__(self, task, testConfig)
     self.appServer = testConfig.testServer.appServer
     self.user = testConfig.user
     self.password = testConfig.password
     self.queryHandler = queryHandler(self.appServer,
                                      user=self.user,
                                      password=self.password)
     self.deviceHandler = deviceHandler(self.appServer,
                                        user=self.user,
                                        password=self.password)
     self.restApiHandler = restApiDataHandler(self.appServer,
                                              user=self.user,
                                              password=self.password)
     self.psql = psqlHandler(self.appServer)
     if hasattr(testConfig, 'posix'):
         self.posix = True
     else:
         self.posix = False
     self.advance = testConfig.advance
     if testConfig.noSend == True:
         self.sendNoEvent = True
     else:
         self.sendNoEvent = False
     self.msgList = []
     self.clearMsgList = []
Exemplo n.º 2
0
 def __init__(self, task, testConfig):
     baseTest.__init__(self, task, testConfig)
     self.deviceHandler = deviceHandler(testConfig.testServer.appServer)
     self.queryHandler = queryHandler(testConfig.testServer.appServer)
     if hasattr(testConfig, 'posix'):
         self.posix = True
         self.eventSender = rawUdpSendHandler.rawUdpSendHandler(
             testConfig.testServer.dataCollector, SYSLOG_PORT)
     else:
         self.posix = False
         self.eventSender = sendEventHandler(
             'syslog', self.testConfig.testServer.dataCollector)
Exemplo n.º 3
0
 def __init__(self, task, testConfig):
     baseTest.__init__(self, task, testConfig)
     self.appServer = testConfig.testServer.appServer
     self.user = testConfig.user
     self.password = testConfig.password
     self.excludeModules = self.getExcludes(testConfig.testTask)
     self.queryHandler = queryHandler(self.appServer,
                                      user=self.user,
                                      password=self.password)
     if hasattr(testConfig, 'posix'):
         self.posix = True
     else:
         self.posix = False
Exemplo n.º 4
0
 def __init__(self, task, testConfig):
     baseTest.__init__(self, task, testConfig)
Exemplo n.º 5
0
 def __init__(self, task, testConfig):
     baseTest.__init__(self, task, testConfig)
     self.restApiHandler = restApiDataHandler(
         self.testConfig.testServer.appServer)