def open(self, path='/', *args, **kwargs):
    print(kwargs.get('method', 'GET'), path)
    response = super(WrappedFlaskClient, self).open(path, *args, **kwargs)
    try:
        print_response(response)
    except Exception:
        traceback.print_exc()
    return response
def open(self, path='/', *args, **kwargs):
    print(kwargs.get('method', 'GET'), path)
    response = super(WrappedFlaskClient, self).open(path, *args, **kwargs)
    try:
        print_response(response)
    except Exception:
        traceback.print_exc()
    return response