Test getting a specific installed pack.
(self, project_dir, pack_dir)
| 691 | assert manager.list_installed() == [] |
| 692 | |
| 693 | def test_get_pack(self, project_dir, pack_dir): |
| 694 | """Test getting a specific installed pack.""" |
| 695 | manager = PresetManager(project_dir) |
| 696 | manager.install_from_directory(pack_dir, "0.1.5") |
| 697 | |
| 698 | pack = manager.get_pack("test-pack") |
| 699 | assert pack is not None |
| 700 | assert pack.id == "test-pack" |
| 701 | |
| 702 | def test_get_pack_not_installed(self, project_dir): |
| 703 | """Test getting a non-installed pack returns None.""" |
nothing calls this directly
no test coverage detected