(self)
| 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) |