(self, project_dir, monkeypatch)
| 4771 | """Test StepCatalog catalog resolution.""" |
| 4772 | |
| 4773 | def test_default_catalogs(self, project_dir, monkeypatch): |
| 4774 | from specify_cli.workflows.catalog import StepCatalog |
| 4775 | |
| 4776 | monkeypatch.setattr(Path, "home", lambda: project_dir) |
| 4777 | monkeypatch.delenv("SPECKIT_STEP_CATALOG_URL", raising=False) |
| 4778 | catalog = StepCatalog(project_dir) |
| 4779 | entries = catalog.get_active_catalogs() |
| 4780 | assert len(entries) == 2 |
| 4781 | assert entries[0].name == "default" |
| 4782 | assert entries[1].name == "community" |
| 4783 | |
| 4784 | def test_env_var_override(self, project_dir, monkeypatch): |
| 4785 | from specify_cli.workflows.catalog import StepCatalog |
nothing calls this directly
no test coverage detected