swh.graph.pytest_plugin module#

class swh.graph.pytest_plugin.GraphServerProcess(config, *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

class swh.graph.pytest_plugin.StatsdServer[source]#

Bases: object

new_datagram#

Woken up every time a datagram is added to self.datagrams.

close()[source]#
swh.graph.pytest_plugin.graph_statsd_server()[source]#
swh.graph.pytest_plugin.graph_grpc_backend_implementation(request)[source]#
swh.graph.pytest_plugin.graph_grpc_server_config(graph_grpc_backend_implementation, graph_statsd_server)[source]#
swh.graph.pytest_plugin.graph_grpc_server_process(graph_grpc_server_config, graph_statsd_server)[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]#