lsst.obs.base  13.0-27-g9d555d8+2
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | List of all members
lsst.obs.base.camera_tests.CameraTests Class Reference
Inheritance diagram for lsst.obs.base.camera_tests.CameraTests:
lsst.obs.base.tests.ObsTests

Public Member Functions

def setUp_camera
 
def test_iterable
 
def test_camera_butler
 

Public Attributes

 camera_data
 

Detailed Description

Tests that the butler returns a useable Camera.

In the subclasses's setUp():
    * Call setUp_camera() to fill in required parameters.

Definition at line 30 of file camera_tests.py.

Member Function Documentation

def lsst.obs.base.camera_tests.CameraTests.setUp_camera (   self,
  camera_name = None,
  n_detectors = None,
  first_detector_name = None 
)
Set up the necessary variables for camera tests.

Parameters
----------

 camera_name : `str`
     name of this camera
 n_detectors : `int`
    number of detectors in this camera
 first_detector_name : `str`
    name of the first detector in this camera

Definition at line 42 of file camera_tests.py.

def lsst.obs.base.camera_tests.CameraTests.test_camera_butler (   self)
Check that the butler returns the right type of camera.

Definition at line 74 of file camera_tests.py.

def lsst.obs.base.camera_tests.CameraTests.test_iterable (   self)
Simplest camera test: can we get a Camera instance, and does iterating return Detectors?

Definition at line 66 of file camera_tests.py.

Member Data Documentation

lsst.obs.base.camera_tests.CameraTests.camera_data

Definition at line 61 of file camera_tests.py.


The documentation for this class was generated from the following file: