6 path = os.path.dirname(os.path.abspath(__file__))
7 def __init__(self, config_file = path+os.sep+'qa_config'):
9 execfile(config_file, self.__dict__)
12 raise "Could not find system config in %s" % config_file
15 self.auth['Username'] = self.PLC_ROOT_USER
16 self.auth['AuthString'] = self.PLC_ROOT_PASSWORD
17 self.auth['AuthMethod'] = 'password'
18 self.api = xmlrpclib.Server('https://%s/PLCAPI/' % self.PLC_API_HOST)