read_fixture_tree#
- lsst.images.tests.read_fixture_tree(fixture)#
Validate a fixture through its live model and return the tree.
- Parameters:
fixture (
SchemaFixture) – The fixture to read.- Returns:
The validated tree, parameterized over
JsonRefas the JSON backend does.- Return type:
- Raises:
ArchiveReadError – Raised when a retired fixture is rejected by Pydantic validation.
RuntimeError – If the fixture’s schema is not registered.