Functions, fixtures and classes to do functional testing with testsuite .
More...
Fixtures
Fixtures to use with testsuite.
Functions, fixtures and classes to do functional testing with testsuite .
◆ check_availability()
bool pytest_userver.utils.net.check_availability
(
HealthChecks
checks )
Checks availability for each provided entry.
Definition at line 50 of file net.py .
◆ get_health_checks_info()
HealthChecks pytest_userver.utils.net.get_health_checks_info
(
dict
service_config_yaml )
Returns a health checks info that for server.listener, grpc-server.port and server.listener-monitor.
See also pytest_userver.plugins.base.service_non_http_health_checks()
Definition at line 75 of file net.py .
◆ test_service_default()
None pytest_userver.plugins.service_runner.test_service_default
(
service_client ,
service_baseurl ,
monitor_baseurl
)
This is default service runner testcase.
Feel free to override it in your own tests, e.g.:
@pytest.mark.servicetest
def test_service(service_client):
...
Definition at line 56 of file service_runner.py .