MCPcopy
hub / github.com/mudler/LocalAI / setUpClass

Method setUpClass

backend/python/ace-step/test.py:17–20  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

15
16 @classmethod
17 def setUpClass(cls):
18 port = os.environ.get("BACKEND_PORT", "50051")
19 cls.channel = grpc.insecure_channel(f"localhost:{port}")
20 cls.stub = backend_pb2_grpc.BackendStub(cls.channel)
21
22 @classmethod
23 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected