Test installing already installed extension.
(self, extension_dir, project_dir)
| 1165 | assert captured["create_missing_active_skills_dir"] is False |
| 1166 | |
| 1167 | def test_install_duplicate(self, extension_dir, project_dir): |
| 1168 | """Test installing already installed extension.""" |
| 1169 | manager = ExtensionManager(project_dir) |
| 1170 | |
| 1171 | # Install once |
| 1172 | manager.install_from_directory(extension_dir, "0.1.0", register_commands=False) |
| 1173 | |
| 1174 | # Try to install again |
| 1175 | with pytest.raises(ExtensionError, match="already installed"): |
| 1176 | manager.install_from_directory(extension_dir, "0.1.0", register_commands=False) |
| 1177 | |
| 1178 | def test_install_force_reinstall(self, extension_dir, project_dir): |
| 1179 | """Test force-reinstalling an already-installed extension.""" |
nothing calls this directly
no test coverage detected