예제 #1
0
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
예제 #2
0
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
    
예제 #3
0
def test_getcameraFrame(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.Frame() == "Light"
예제 #4
0
def test_getcameraBin(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.ExposureTime() == str(3)
예제 #5
0
def test_setcameraExposureTime(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.ExposureTime(23) == str(23)
예제 #6
0
def test_cameraDisconnect(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.Disconnect() == True
예제 #7
0
def test_setcameraFrame(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.Frame("Light") == "Light"
예제 #8
0
def test_getcameraBin(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.ExposureTime() == str(3)
예제 #9
0
def test_setcameraExposureTime(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.ExposureTime(23) == str(23)
예제 #10
0
def test_cameraDisconnect(skyxconn):
    ''' Test ccdsoftCameraDisconnect
    '''
    camera = skyx.ccdsoftCamera()
    assert camera.Disconnect() == True