swh.graph.pytest_plugin module#

class swh.graph.pytest_plugin.GraphServerProcess(backend_impl, *args, **kwargs)[source]#

Bases: Process

run()[source]#

Method to be run in sub-process; can be overridden in sub-class

start(*args, **kwargs)[source]#

Start child process

swh.graph.pytest_plugin.graph_grpc_backend_implementation(request)[source]#
swh.graph.pytest_plugin.graph_grpc_server_process(graph_grpc_backend_implementation)[source]#
swh.graph.pytest_plugin.graph_grpc_server_started(graph_grpc_server_process)[source]#
swh.graph.pytest_plugin.graph_grpc_stub(graph_grpc_server)[source]#
swh.graph.pytest_plugin.graph_grpc_server(graph_grpc_server_started)[source]#
swh.graph.pytest_plugin.remote_graph_client_url(graph_grpc_server_started)[source]#
swh.graph.pytest_plugin.remote_graph_client(graph_grpc_server_started)[source]#
swh.graph.pytest_plugin.naive_graph_client()[source]#
swh.graph.pytest_plugin.graph_client(request)[source]#