'Initializes instance variables, creates manager instance and tests connection
@return: Nothing'

def setup(self):

    addr = self.classconfig['addr']
    password = self.classconfig['password']
    if (not addr):
        raise Exception('No    address    specified')
    (host, colon, port) = addr.partition(':')
    try:
        if colon:
            self._m = manager.manager(host=host, port=int(port), password=password)
        else:
            self._m = manager.manager(path=addr, password=password)
        self.getpid()
    except Exception as e:
        raise Exception(str(e))
