Test that ``is_github_host`` correctly identifies GitHub and GitHub Enterprise URLs.
(url: str, *, expected: bool)
| 173 | ], |
| 174 | ) |
| 175 | def test_is_github_host(url: str, *, expected: bool) -> None: |
| 176 | """Test that ``is_github_host`` correctly identifies GitHub and GitHub Enterprise URLs.""" |
| 177 | assert is_github_host(url) == expected |
| 178 | |
| 179 | |
| 180 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected