MCPcopy
hub / github.com/coderamp-labs/gitingest / test_is_github_host

Function test_is_github_host

tests/test_git_utils.py:175–177  ·  view source on GitHub ↗

Test that ``is_github_host`` correctly identifies GitHub and GitHub Enterprise URLs.

(url: str, *, expected: bool)

Source from the content-addressed store, hash-verified

173 ],
174)
175def 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(

Callers

nothing calls this directly

Calls 1

is_github_hostFunction · 0.90

Tested by

no test coverage detected