florist.tests.unit.api.test_client module

Tests for FLorist’s client FastAPI endpoints.

mock_client_db()[source]
Return type:

None

test_check_status(mock_redis)[source]
Return type:

None

test_check_status_fail_exception(_)[source]
Return type:

None

test_check_status_not_found(mock_redis)[source]
Return type:

None

test_connect()[source]

Tests the client’s connect endpoint.

Return type:

None

test_get_log()[source]
Return type:

None

test_get_log_exception(mock_client_dao)[source]
Return type:

None

test_get_log_no_log_file_path()[source]
Return type:

None

test_start_fail_exception(_)[source]
Return type:

None

test_start_success(mock_launch_client)[source]
Return type:

None

test_stop_fail_exception(mock_kill)[source]
Return type:

None

test_stop_fail_no_uuid()[source]
Return type:

None

test_stop_fail_not_found()[source]
Return type:

None

test_stop_success(mock_kill)[source]
Return type:

None