current_fixture_path#
- lsst.images.tests.current_fixture_path(directory, name, *, variant=None)#
Return the fixture path for a schema’s live version, by name.
- Parameters:
- Returns:
Path to the fixture for whatever version the code is currently at.
- Return type:
- Raises:
LookupError – If no schema is registered under
name.
Notes
This is the entry point for tests that just want representative data. Resolving through the live class means such a test does not need editing when a schema is frozen or its version is bumped.