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

Method tearDown

backend/python/diffusers/test.py:34–39  ·  view source on GitHub ↗

This method tears down the gRPC service by terminating the server

(self)

Source from the content-addressed store, hash-verified

32 self.service = subprocess.Popen(["python3", "backend.py", "--addr", "localhost:50051"])
33
34 def tearDown(self) -> None:
35 """
36 This method tears down the gRPC service by terminating the server
37 """
38 self.service.kill()
39 self.service.wait()
40
41 def test_server_startup(self):
42 """

Callers 3

test_server_startupMethod · 0.95
test_load_modelMethod · 0.95
testMethod · 0.95

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected