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

Method test_initialization_with_data

lib/cli/tests/test_config.py:34–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self.assertIsNone(settings.tool_repository_password)
33
34 def test_initialization_with_data(self):
35 settings = Settings(
36 config_path=self.config_path, tool_repository_username="user1"
37 )
38 self.assertEqual(settings.tool_repository_username, "user1")
39 self.assertIsNone(settings.tool_repository_password)
40
41 def test_initialization_with_existing_file(self):
42 self.config_path.parent.mkdir(parents=True, exist_ok=True)

Callers

nothing calls this directly

Calls 1

SettingsClass · 0.85

Tested by

no test coverage detected