MCPcopy Create free account
hub / github.com/ServerlessLLM/ServerlessLLM / tearDown

Method tearDown

sllm_store/tests/python/test_cli.py:67–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 assert result.exit_code == 0, f"Initial save failed: {result.output}"
66
67 def tearDown(self):
68 path = Path(TEST_DIRECTORY_SAVE)
69 if path.exists() and path.is_dir():
70 try:
71 shutil.rmtree(path)
72 print(f"Removed old test folder: {path}")
73 except OSError as e:
74 print(f"Error removing {path}: {e}")
75
76 @classmethod
77 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected