Test listing installed packs.
(self, project_dir, pack_dir)
| 674 | assert result is False |
| 675 | |
| 676 | def test_list_installed(self, project_dir, pack_dir): |
| 677 | """Test listing installed packs.""" |
| 678 | manager = PresetManager(project_dir) |
| 679 | manager.install_from_directory(pack_dir, "0.1.5") |
| 680 | |
| 681 | installed = manager.list_installed() |
| 682 | assert len(installed) == 1 |
| 683 | assert installed[0]["id"] == "test-pack" |
| 684 | assert installed[0]["name"] == "Test Preset" |
| 685 | assert installed[0]["version"] == "1.0.0" |
| 686 | assert installed[0]["template_count"] == 1 |
| 687 | |
| 688 | def test_list_installed_empty(self, project_dir): |
| 689 | """Test listing when no packs installed.""" |
nothing calls this directly
no test coverage detected