def nodeless_client(): """ A client that is suited for being used in tests that do not require a node """ client_path = _wrap_path(CLIENT) client_admin_path = _wrap_path(CLIENT_ADMIN) client = Client(client_path, client_admin_path, endpoint=None) yield client client.cleanup()