make_test_formatter#
- lsst.images.tests.make_test_formatter(formatter_cls: type[F], pytype: type, *, location: str = '/tmp/test.fits', parameters: dict[str, Any] | None = None, write_parameters: dict[str, Any] | None = None) F#
Construct a butler formatter wired to a minimal
DatasetRef.Intended for unit tests that exercise formatter logic without a full butler.
pytypeis wrapped in a freshStorageClasswhose name is taken from the class.