MCPcopy Index your code
hub / github.com/mudler/LocalAI / setUp

Method setUp

backend/python/diffusers/test.py:28–32  ·  view source on GitHub ↗

This method sets up the gRPC service by starting the server

(self)

Source from the content-addressed store, hash-verified

26 TestBackendServicer is the class that tests the gRPC service
27 """
28 def setUp(self):
29 """
30 This method sets up the gRPC service by starting the server
31 """
32 self.service = subprocess.Popen(["python3", "backend.py", "--addr", "localhost:50051"])
33
34 def tearDown(self) -> None:
35 """

Callers 3

test_server_startupMethod · 0.95
test_load_modelMethod · 0.95
testMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected