userver: pytest_userver.plugins.base Namespace Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pytest_userver.plugins.base Namespace Reference

Configure the service in testsuite. More...

Functions

None pytest_addoption (parser)
 
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)
 Returns the main listener port number of the service set by command line --service-port option.
 
int monitor_port (pytestconfig)
 Returns the monitor listener port number of the service set by command line --monitor-port option.
 

Detailed Description

Configure the service in testsuite.

Function Documentation

◆ pytest_addoption()

None pytest_userver.plugins.base.pytest_addoption (   parser)

Definition at line 10 of file base.py.