chatsky_ui.tests.services package

chatsky_ui.tests.services.test_process module

class chatsky_ui.tests.services.test_process.TestRunProcess[source]

Bases: object

async test_check_status(run_process, cmd_to_run, status)[source]
async test_read_stdout(run_process)[source]
async test_stop(run_process)[source]
async test_write_stdout(run_process)[source]

chatsky_ui.tests.services.test_process_manager module

class chatsky_ui.tests.services.test_process_manager.TestRunManager[source]

Bases: object

async test_fetch_run_logs(mocker, run_manager)[source]
async test_get_full_info(mocker, run_manager)[source]
async test_get_process_info(mocker, run_manager)[source]
async test_start(mocker, preset, run_manager)[source]
async test_stop_success(mocker, run_manager)[source]
async test_stop_with_error(run_manager)[source]

chatsky_ui.tests.services.test_websocket_manager module

class chatsky_ui.tests.services.test_websocket_manager.TestWebSocketManager[source]

Bases: object

async test_connect(mocker, websocket_manager)[source]
async test_disconnect(mocker, websocket_manager)[source]
async test_forward_websocket_messages_to_process(mocker, websocket_manager)[source]
async test_send_process_output_to_websocket(mocker, websocket_manager)[source]