florist.tests.unit.api.routes.server.test_training module

test_client_training_listener(mock_get_subscriber, mock_get_from_redis)[source]
Return type:

None

test_client_training_listener_already_finished(mock_get_from_redis)[source]
Return type:

None

test_client_training_listener_fail_no_uuid()[source]
Return type:

None

test_server_training_listener(mock_get_subscriber, mock_get_from_redis)[source]
Return type:

None

test_server_training_listener_already_finished(mock_get_from_redis)[source]
Return type:

None

test_server_training_listener_fail_no_redis_host()[source]
Return type:

None

test_server_training_listener_fail_no_redis_port()[source]
Return type:

None

test_server_training_listener_fail_no_server_uuid()[source]
Return type:

None

async test_start_fail_empty_clients_info(_)[source]
Return type:

None

async test_start_fail_invalid_server_config(mock_set_status)[source]
Return type:

None

async test_start_fail_missing_info(mock_set_status)[source]
Return type:

None

async test_start_fail_response(mock_requests, mock_redis, mock_launch_local_server, _)[source]
Return type:

None

async test_start_fail_unsupported_client()[source]
Return type:

None

async test_start_fail_unsupported_server_model()[source]
Return type:

None

async test_start_launch_server_exception(mock_launch_local_server, _)[source]
Return type:

None

async test_start_no_uuid_in_response(mock_requests, mock_redis, mock_launch_local_server, _)[source]
Return type:

None

async test_start_success(mock_set_uuids, mock_set_status, mock_requests, mock_redis, mock_launch_local_server)[source]
Return type:

None

async test_start_wait_for_metric_exception(mock_redis, mock_launch_local_server, _)[source]
Return type:

None

async test_start_wait_for_metric_timeout(_, mock_redis, mock_launch_local_server, mock_set_status)[source]
Return type:

None