MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / setUp

Method setUp

lib/cli/tests/test_settings_command.py:19–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17
18class TestSettingsCommand(unittest.TestCase):
19 def setUp(self):
20 self.test_dir = Path(tempfile.mkdtemp())
21 self.config_path = self.test_dir / "settings.json"
22 self.settings = Settings(config_path=self.config_path)
23 self.settings_command = SettingsCommand(
24 settings_kwargs={"config_path": self.config_path}
25 )
26
27 def tearDown(self):
28 shutil.rmtree(self.test_dir)

Callers

nothing calls this directly

Calls 2

SettingsCommandClass · 0.90
SettingsClass · 0.85

Tested by

no test coverage detected