def _delete(self):
    http = urllib3.PoolManager()
    resp = http.request('DELETE', 'http://localhost:{}/'.format(self.server_port))
    if (resp.status != 200):
        raise Exception('Monitor Requests server error: {}.'.format(resp.status))
def _delete(self):
    http = urllib3.PoolManager()
    resp = http.request('DELETE', 'http://localhost:{}/'.format(self.server_port))
    if (resp.status != 200):
        raise Exception('Monitor Requests server error: {}.'.format(resp.status))