tests package¶
Submodules¶
tests.debug module¶
tests.test_atprogram module¶
This module holds the automated tests for atprogram.
-
tests.test_atprogram.test_atprogram(verbose, clean, build, erase, program, verify, return_output, dry_run)[source]¶ test_atprogram.
tests.test_benchmarks module¶
This module holds the benchmark tests for DGILibExtra.
-
tests.test_benchmarks.data_iadd_speed(num_iterations=10, num_values=1000)[source]¶ test_data_iadd_speed.
tests.test_dgilib_auxiliary module¶
This module holds the automated tests for DGILib Auxiliary.
-
tests.test_dgilib_auxiliary.test_auxiliary_power_calibration_is_valid(verbose)[source]¶ test_auxiliary_power_calibration_is_valid.
DGILibAuxiliary.auxiliary_power_calibration_is_valid
-
tests.test_dgilib_auxiliary.test_auxiliary_power_get_calibration(verbose)[source]¶ test_auxiliary_power_get_calibration.
DGILibAuxiliary.auxiliary_power_get_calibration
-
tests.test_dgilib_auxiliary.test_auxiliary_power_get_circuit_type(verbose)[source]¶ test_auxiliary_power_get_circuit_type.
DGILibAuxiliary.auxiliary_power_get_circuit_type
-
tests.test_dgilib_auxiliary.test_auxiliary_power_get_status(verbose)[source]¶ test_auxiliary_power_get_status.
DGILibAuxiliary.auxiliary_power_get_status
-
tests.test_dgilib_auxiliary.test_auxiliary_power_initialize(verbose)[source]¶ test_auxiliary_power_initialize.
DGILibAuxiliary.auxiliary_power_initialize
-
tests.test_dgilib_auxiliary.test_auxiliary_power_lock_data_for_reading_copy_data_free_data(channel, power_type, verbose)[source]¶ 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
-
tests.test_dgilib_auxiliary.test_auxiliary_power_register_unregister_buffer_pointers(channel, power_type, verbose)[source]¶ test_auxiliary_power_register_unregister_buffer_pointers.
DGILibAuxiliary.auxiliary_power_register_buffer_pointers DGILibAuxiliary.auxiliary_power_unregister_buffer_pointers
-
tests.test_dgilib_auxiliary.test_auxiliary_power_start_stop(channel, power_type, mode, parameter, verbose)[source]¶ test_auxiliary_power_start_stop.
DGILibAuxiliary.auxiliary_power_start DGILibAuxiliary.auxiliary_power_stop
tests.test_dgilib_discovery module¶
This module holds the automated tests for DGILib Discovery.
-
tests.test_dgilib_discovery.test_get_device_count(verbose)[source]¶ test_get_device_count.
DGILibDiscovery.get_device_count
-
tests.test_dgilib_discovery.test_get_device_name(verbose)[source]¶ test_get_device_name.
DGILibDiscovery.get_device_name
-
tests.test_dgilib_discovery.test_get_device_serial(verbose)[source]¶ test_get_device_serial.
DGILibDiscovery.get_device_serial
tests.test_dgilib_extra module¶
This module holds the automated tests for DGILibExtra.
tests.test_dgilib_housekeeping module¶
This module holds the automated tests for DGILib Housekeeping.
-
tests.test_dgilib_housekeeping.test_connect(verbose)[source]¶ test_connect.
DGILibHousekeeping.connect
-
tests.test_dgilib_housekeeping.test_connection_status(verbose)[source]¶ test_connection_status.
DGILibHousekeeping.connection_status
-
tests.test_dgilib_housekeeping.test_disconnect(verbose)[source]¶ test_disconnect.
DGILibHousekeeping.disconnect
-
tests.test_dgilib_housekeeping.test_get_build_number(verbose)[source]¶ test_get_build_number.
DGILibHousekeeping.get_build_number
-
tests.test_dgilib_housekeeping.test_get_fw_version(verbose)[source]¶ test_get_fw_version.
DGILibHousekeeping.get_fw_version
-
tests.test_dgilib_housekeeping.test_get_major_version(verbose)[source]¶ test_get_major_version.
DGILibHousekeeping.get_major_version
-
tests.test_dgilib_housekeeping.test_get_minor_version(verbose)[source]¶ test_get_minor_version.
DGILibHousekeeping.get_minor_version
-
tests.test_dgilib_housekeeping.test_start_polling(verbose)[source]¶ test_start_polling.
DGILibHousekeeping.start_polling
tests.test_dgilib_interface_communication module¶
This module holds the automated tests for DGILib Interface Communication.
-
tests.test_dgilib_interface_communication.test_interface_clear_buffer(verbose)[source]¶ test_interface_clear_buffer.
DGILibInterfaceCommunication.interface_clear_buffer
-
tests.test_dgilib_interface_communication.test_interface_disable(verbose)[source]¶ test_interface_disable.
DGILibInterfaceCommunication.interface_disable
-
tests.test_dgilib_interface_communication.test_interface_enable(verbose)[source]¶ test_interface_enable.
DGILibInterfaceCommunication.interface_enable
-
tests.test_dgilib_interface_communication.test_interface_get_configuration(verbose)[source]¶ test_interface_get_configuration.
DGILibInterfaceCommunication.interface_get_configuration
-
tests.test_dgilib_interface_communication.test_interface_list(verbose)[source]¶ test_interface_list.
DGILibInterfaceCommunication.interface_list
-
tests.test_dgilib_interface_communication.test_interface_read_data(verbose)[source]¶ test_interface_read_data.
DGILibInterfaceCommunication.interface_read_data
tests.test_interface_data module¶
This module holds the automated tests for InterfaceData.
tests.test_logger_data module¶
This module holds the automated tests for LoggerData.
tests.test_pydgilib module¶
This module holds the automated tests for DGILib.
Module contents¶
This module provides Python tests for DGILib.