Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""This module holds the automated tests for DGILib Auxiliary."""
CHANNEL_A, CHANNEL_B, POWER_CURRENT, POWER_VOLTAGE, POWER_RANGE, OLD_XAM, XAM, PAM, UNKNOWN, NUM_CALIBRATION, IDLE, RUNNING, DONE, CALIBRATING, INIT_FAILED, OVERFLOWED, USB_DISCONNECTED, CALIBRATION_FAILED, BUFFER_SIZE)
def test_auxiliary_power_initialize(verbose): """test_auxiliary_power_initialize.
DGILibAuxiliary.auxiliary_power_initialize """
def test_auxiliary_power_uninitialize(verbose): """test_auxiliary_power_uninitialize.
DGILibAuxiliary.auxiliary_power_uninitialize """
(CHANNEL_A, POWER_CURRENT), (CHANNEL_B, POWER_CURRENT), (CHANNEL_A, POWER_VOLTAGE), (CHANNEL_B, POWER_VOLTAGE), (CHANNEL_A, POWER_RANGE), (CHANNEL_B, POWER_RANGE)]) def test_auxiliary_power_register_unregister_buffer_pointers( channel, power_type, verbose): """test_auxiliary_power_register_unregister_buffer_pointers.
DGILibAuxiliary.auxiliary_power_register_buffer_pointers DGILibAuxiliary.auxiliary_power_unregister_buffer_pointers """ channel, power_type) channel, power_type)
def test_auxiliary_power_calibration_is_valid(verbose): """test_auxiliary_power_calibration_is_valid.
DGILibAuxiliary.auxiliary_power_calibration_is_valid """
def test_auxiliary_power_get_circuit_type(verbose): """test_auxiliary_power_get_circuit_type.
DGILibAuxiliary.auxiliary_power_get_circuit_type """ UNKNOWN)
def test_auxiliary_power_trigger_calibration(verbose): """test_auxiliary_power_trigger_calibration.
DGILibAuxiliary.auxiliary_power_trigger_calibration """ dgilib.auxiliary_power_get_circuit_type()) is None
def test_auxiliary_power_get_calibration(verbose): """test_auxiliary_power_get_calibration.
DGILibAuxiliary.auxiliary_power_get_calibration """
def test_auxiliary_power_get_status(verbose): """test_auxiliary_power_get_status.
DGILibAuxiliary.auxiliary_power_get_status """ IDLE, RUNNING, DONE, CALIBRATING, INIT_FAILED, OVERFLOWED, USB_DISCONNECTED, CALIBRATION_FAILED)
(CHANNEL_A, POWER_CURRENT), (CHANNEL_B, POWER_CURRENT), (CHANNEL_A, POWER_VOLTAGE), (CHANNEL_B, POWER_VOLTAGE), (CHANNEL_A, POWER_RANGE), (CHANNEL_B, POWER_RANGE)]) def test_auxiliary_power_start_stop(channel, power_type, mode, parameter, verbose): """test_auxiliary_power_start_stop.
DGILibAuxiliary.auxiliary_power_start DGILibAuxiliary.auxiliary_power_stop """ mode=mode, parameter=parameter) is None
(CHANNEL_A, POWER_CURRENT), (CHANNEL_B, POWER_CURRENT), (CHANNEL_A, POWER_VOLTAGE), (CHANNEL_B, POWER_VOLTAGE), (CHANNEL_A, POWER_RANGE), (CHANNEL_B, POWER_RANGE)]) def test_auxiliary_power_lock_data_for_reading_copy_data_free_data( channel, power_type, verbose): """test_auxiliary_power_lock_data_for_reading_copy_data_free_data.
DGILibAuxiliary.auxiliary_power_lock_data_for_reading DGILibAuxiliary.auxiliary_power_copy_data DGILibAuxiliary.auxiliary_power_free_data """ channel, power_type) channel, power_type) channel, power_type) |