Class that describes the route for TcpGate or UdpGate.
Use port_for_client == 0
to bind to some unused port. In that case the actual address could be retrieved via BaseGate.get_sockname_for_clients().
Definition at line 36 of file chaos.py.
◆ host_for_client
str pytest_userver.chaos.GateRoute.host_for_client = '127.0.0.1' |
|
static |
◆ port_for_client
int pytest_userver.chaos.GateRoute.port_for_client = 0 |
|
static |
The documentation for this class was generated from the following file:
- /data/code/userver/testsuite/pytest_plugins/pytest_userver/chaos.py