Test that ``validate_github_token`` raises ``InvalidGitHubTokenError`` on malformed tokens.
(token: str)
| 50 | ], |
| 51 | ) |
| 52 | def test_validate_github_token_invalid(token: str) -> None: |
| 53 | """Test that ``validate_github_token`` raises ``InvalidGitHubTokenError`` on malformed tokens.""" |
| 54 | with pytest.raises(InvalidGitHubTokenError): |
| 55 | validate_github_token(token) |
| 56 | |
| 57 | |
| 58 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected