InstrumentTests#
- class lsst.obs.base.instrument_tests.InstrumentTests#
Bases:
objectTests of subclasses of Instrument.
TestCase subclasses must derive from this, then
unittest.TestCase, and overridedataandinstrument.Attributes Summary
InstrumentTestDatacontaining the values to test against.The
Instrumentto be tested.Methods Summary
Test that getCamera() returns a reasonable Camera definition.
Test that register() sets appropriate Dimensions.
Attributes Documentation
- data: ClassVar[InstrumentTestData | None] = None#
InstrumentTestDatacontaining the values to test against.
- instrument: ClassVar[Instrument | None] = None#
The
Instrumentto be tested.
Methods Documentation
- test_getCamera() None#
Test that getCamera() returns a reasonable Camera definition.
- test_name() None#
- test_register() None#
Test that register() sets appropriate Dimensions.