(self, project_dir, monkeypatch)
| 4325 | """Test WorkflowCatalog catalog resolution.""" |
| 4326 | |
| 4327 | def test_default_catalogs(self, project_dir, monkeypatch): |
| 4328 | from specify_cli.workflows.catalog import WorkflowCatalog |
| 4329 | |
| 4330 | monkeypatch.setattr(Path, "home", lambda: project_dir) |
| 4331 | monkeypatch.delenv("SPECKIT_WORKFLOW_CATALOG_URL", raising=False) |
| 4332 | catalog = WorkflowCatalog(project_dir) |
| 4333 | entries = catalog.get_active_catalogs() |
| 4334 | assert len(entries) == 2 |
| 4335 | assert entries[0].name == "default" |
| 4336 | assert entries[1].name == "community" |
| 4337 | |
| 4338 | def test_env_var_override(self, project_dir, monkeypatch): |
| 4339 | from specify_cli.workflows.catalog import WorkflowCatalog |
nothing calls this directly
no test coverage detected