(self)
| 293 | assert result == [entry] |
| 294 | |
| 295 | def test_wildcard_match(self): |
| 296 | entry = AuthConfigEntry( |
| 297 | hosts=("*.visualstudio.com",), |
| 298 | provider="azure-devops", |
| 299 | auth="basic-pat", |
| 300 | token_env="ADO_PAT", |
| 301 | ) |
| 302 | result = find_entries_for_url("https://myorg.visualstudio.com/project", [entry]) |
| 303 | assert result == [entry] |
| 304 | |
| 305 | def test_no_match_returns_empty(self): |
| 306 | entry = _github_entry() |
nothing calls this directly
no test coverage detected