InstrumentTests

class lsst.obs.base.instrument_tests.InstrumentTests

Bases: object

Tests of subclasses of Instrument.

TestCase subclasses must derive from this, then unittest.TestCase, and override data and instrument.

Attributes Summary

data

InstrumentTestData containing the values to test against.

instrument

The Instrument to be tested.

Methods Summary

test_getCamera()

Test that getCamera() returns a reasonable Camera definition.

test_name()

test_register()

Test that register() sets appropriate Dimensions.

Attributes Documentation

data: ClassVar[InstrumentTestData | None] = None

InstrumentTestData containing the values to test against.

instrument: ClassVar[Instrument | None] = None

The Instrument to 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.