def test_closedloopslew(skyxconn): ''' Test a closed loop slew This needs the camera, telescope and image link set up correctly hence it will usually fail... ''' skyx.ccdsoftCamera().Connect() skyx.sky6RASCOMTele().Connect() assert skyxconn.closedloopslew("M81") == True
def test_getcameraFrame(skyxconn): ''' Test ccdsoftCameraDisconnect ''' camera = skyx.ccdsoftCamera() assert camera.Frame() == "Light"
def test_getcameraBin(skyxconn): ''' Test ccdsoftCameraDisconnect ''' camera = skyx.ccdsoftCamera() assert camera.ExposureTime() == str(3)
def test_setcameraExposureTime(skyxconn): ''' Test ccdsoftCameraDisconnect ''' camera = skyx.ccdsoftCamera() assert camera.ExposureTime(23) == str(23)
def test_cameraDisconnect(skyxconn): ''' Test ccdsoftCameraDisconnect ''' camera = skyx.ccdsoftCamera() assert camera.Disconnect() == True
def test_setcameraFrame(skyxconn): ''' Test ccdsoftCameraDisconnect ''' camera = skyx.ccdsoftCamera() assert camera.Frame("Light") == "Light"