End-to-end test suite for redap (Rerun Data Protocol).
This test suite exercises the full redap stack by using the Python SDK (primarily CatalogClient) against a live Rerun server.
The catalog_client fixture is the foundation of this test suite. It yields a connected CatalogClient instance which all other fixtures and tests depend on.
By default, the fixture creates a local OSS server for each test. However, it can be configured to connect to an external redap server using the --redap-url option, allowing the test suite to run against different redap implementations (e.g., Cloud deployments).
Note: prefix commands with pixi run uvpy -m to run in the pixi/uv environment.
Run against a local OSS server (default):
pixi run uvpy -m pytest -c rerun_py/pyproject.toml rerun_py/tests/e2e_redap_testsRun against an external redap server:
pytest -c rerun_py/pyproject.toml rerun_py/tests/e2e_redap_tests --redap-url=rerun+http://localhost:51234With authentication:
pytest -c rerun_py/pyproject.toml rerun_py/tests/e2e_redap_tests --redap-url=rerun+https://example.com --redap-token=your_tokenSkip local-only tests (useful for Docker/containerized environments):
pytest -c rerun_py/pyproject.toml rerun_py/tests/e2e_redap_tests -m "not local_only"Note: When using --resource-prefix with remote storage (s3://, gs://, etc.), local-only tests are automatically skipped.