autowisp.tests.error_fixtures module
Class Inheritance Diagram

Shared fixtures for the error-handling unit tests.
Keeps the canonical “realistic” sample errors in one place so the hierarchy, persistence, and rendering tests all exercise the same shape.
The related files of a
find_starsfailure (real I/O shape).The step’s input is a calibrated FITS image and its (expected) output is the image’s DR file.
- autowisp.tests.error_fixtures.make_find_stars_error(*, related_files=None, details=None)[source]
Build a representative
FindStarsErrorfor the tests.- Parameters:
related_files (Sequence[RelatedFile] or None) – Override the default calibrated-in / DR-out related files.
details (dict or None) – Override the default
detailsdict.
- Returns:
- The sample error (no cause/traceback attached;
callers that need one raise inside an
exceptand set it).
- Return type: