(self, tmp_path)
| 136 | assert entries[0].tenant_id == "tid" |
| 137 | |
| 138 | def test_azure_cli_config(self, tmp_path): |
| 139 | cfg = tmp_path / "auth.json" |
| 140 | cfg.write_text(json.dumps({ |
| 141 | "providers": [{ |
| 142 | "hosts": ["dev.azure.com"], |
| 143 | "provider": "azure-devops", |
| 144 | "auth": "azure-cli", |
| 145 | }] |
| 146 | })) |
| 147 | entries = load_auth_config(cfg) |
| 148 | assert entries[0].auth == "azure-cli" |
| 149 | |
| 150 | def test_multiple_entries(self, tmp_path): |
| 151 | cfg = tmp_path / "auth.json" |
nothing calls this directly
no test coverage detected