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

Method tearDown

backend/python/mlx/test.py:28–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 time.sleep(10)
27
28 def tearDown(self) -> None:
29 self.service.terminate()
30 self.service.wait()
31
32 def test_server_startup(self):
33 try:

Callers 10

test_server_startupMethod · 0.95
test_load_modelMethod · 0.95
test_textMethod · 0.95
test_sampling_paramsMethod · 0.95
test_embeddingMethod · 0.95
test_cache_reuseMethod · 0.95
test_tokenize_stringMethod · 0.95
test_freeMethod · 0.95

Calls 2

terminateMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected