Service main and monitor clients.
|
None | extra_client_deps () |
| Service client dependencies hook.
|
|
None | auto_client_deps (request) |
| Service client dependencies hook that knows about pgsql, mongodb, clickhouse, rabbitmq, redis_store, ydb, and mysql dependencies.
|
|
client.Client | service_client (ensure_daemon_started, service_daemon, dynamic_config, mock_configs_service, cleanup_userver_dumps, userver_client_cleanup, _config_service_defaults_updated, client.TestsuiteClientConfig _testsuite_client_config, _service_client_base, _service_client_testsuite, extra_client_deps, auto_client_deps) |
| Main fixture that provides access to userver based service.
|
|
| userver_client_cleanup (request, userver_flush_logs) |
|
| userver_flush_logs (request) |
| Flush logs in case of failure.
|
|
| websocket_client (service_client, service_port) |
| Fixture that provides access to userver based websocket service.
|
|
client.ClientMonitor | monitor_client (service_client, service_client_options, mockserver, str monitor_baseurl, client.TestsuiteClientConfig _testsuite_client_config) |
| Main fixture that provides access to userver monitor listener.
|
|
| _service_client_base (service_baseurl, service_client_options) |
|
typing.Callable[[DaemonInstance], client.Client] | _service_client_testsuite (service_baseurl, service_client_options, mocked_time, userver_cache_control, userver_log_capture, testpoint, testpoint_control, cache_invalidation_state, service_periodic_tasks_state, client.TestsuiteClientConfig _testsuite_client_config) |
|
str | service_baseurl (service_port) |
| Returns the main listener URL of the service.
|
|
str | monitor_baseurl (monitor_port) |
| Returns the main monitor URL of the service.
|
|
client.PeriodicTasksState | service_periodic_tasks_state () |
|
client.TestsuiteClientConfig | _testsuite_client_config (pytestconfig, service_config) |
|