device_test#

Attributes#

Functions#

_normalize_device_spec(spec)

_check_basic_functionality(device, call_method)

_check_writable(device, write_value, query_value)

_sync_call_method(device, func)

_sync_write_value(device, key, value)

_sync_query_value(device, key)

_async_call_method(device, func)

_async_write_value(device, key, value)

_async_query_value(device, key)

run_sync_device_test(device_spec)

run_async_device_test(device_spec)

run_server_client_test(device_spec)

test_device(device_spec[, include_server_client])

Module Contents#

device_test.BASIC_FUNCTIONS = ['identity', 'check_operatability', 'check_errors', 'synchronize_from_physical_device']#
device_test._normalize_device_spec(spec)#
async device_test._check_basic_functionality(device, call_method)#
async device_test._check_writable(device, write_value, query_value)#
device_test._sync_call_method(device, func)#
device_test._sync_write_value(device, key, value)#
device_test._sync_query_value(device, key)#
async device_test._async_call_method(device, func)#
async device_test._async_write_value(device, key, value)#
async device_test._async_query_value(device, key)#
device_test.run_sync_device_test(device_spec)#
device_test.run_async_device_test(device_spec)#
device_test.run_server_client_test(device_spec)#
device_test.test_device(device_spec, include_server_client=False)#