Test installing an already-installed pack raises error.
(self, project_dir, pack_dir)
| 595 | assert (installed_dir / "templates" / "spec-template.md").exists() |
| 596 | |
| 597 | def test_install_already_installed(self, project_dir, pack_dir): |
| 598 | """Test installing an already-installed pack raises error.""" |
| 599 | manager = PresetManager(project_dir) |
| 600 | manager.install_from_directory(pack_dir, "0.1.5") |
| 601 | |
| 602 | with pytest.raises(PresetError, match="already installed"): |
| 603 | manager.install_from_directory(pack_dir, "0.1.5") |
| 604 | |
| 605 | def test_install_incompatible(self, project_dir, temp_dir, valid_pack_data): |
| 606 | """Test installing an incompatible pack raises error.""" |
nothing calls this directly
no test coverage detected