ObsLsstButlerTests#
- class lsst.obs.lsst.testHelper.ObsLsstButlerTests(methodName='runTest')#
Bases:
TestCaseBase class shared by all tests of the butler and mapper.
This class can not inherit from
ObsTestssince that will trigger tests in this class directly that will fail.This class defines a butler and a mapper for each test subclass. They are stored in the
_mapperand_butlerclass attributes to distinguish them from themapperandbutlerinstance attributes used byObsTests.Attributes Summary
Name of instrument directory within data/input.
Methods Summary
Retrieve the
lsst.obs.base.Instrumentclass for this instrument.Hook method for setting up class fixture before running tests in the class.
Hook method for deconstructing the class fixture after running all tests in the class.
Attributes Documentation
- instrumentDir = 'TBD'#
Name of instrument directory within data/input.
Methods Documentation
- abstract classmethod getInstrument()#
Retrieve the
lsst.obs.base.Instrumentclass for this instrument.Returns#
- instrument
lsst.obs.base.Instrument The class associated with this instrument.
- instrument
- classmethod setUpClass()#
Hook method for setting up class fixture before running tests in the class.
- classmethod tearDownClass()#
Hook method for deconstructing the class fixture after running all tests in the class.