Your opinion will help to improve our service
Leave a feedback >Configure the service in testsuite.
Functions | |
None | pytest_addoption (parser) |
pytest_configure (config) | |
pathlib.Path | service_source_dir (pytestconfig) |
Returns the path to the service source directory that is set by command line --service-source-dir option. | |
pathlib.Path | build_dir (pytestconfig) |
Returns the build directory set by command line --build-dir option. | |
pathlib.Path | service_binary (pytestconfig) |
Returns the path to service binary set by command line --service-binary option. | |
int | service_port (pytestconfig, _original_service_config) |
Returns the main listener port number of the service set by command line --service-port option. | |
int | monitor_port (pytestconfig, _original_service_config) |
Returns the monitor listener port number of the service set by command line --monitor-port option. | |
int | _get_port (original_service_config, listener_name, port_fixture, option_name) |
_choose_free_port (first_port) | |
userver_base_prepare_service_config () | |
Variables | |
list | USERVER_CONFIG_HOOKS = ['userver_base_prepare_service_config'] |
allocated_ports = set() | |
|
protected |
|
protected |
pytest_userver.plugins.base.userver_base_prepare_service_config | ( | ) |