MCPcopy
hub / github.com/vinta/awesome-python / test_dot_git_suffix

Method test_dot_git_suffix

website/tests/test_build.py:932–933  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

930 assert extract_github_repo("https://github.com/org/repo/tree/main") is None
931
932 def test_dot_git_suffix(self):
933 assert extract_github_repo("https://github.com/org/repo.git") == "org/repo"
934
935 def test_org_only(self):
936 assert extract_github_repo("https://github.com/org") is None

Callers

nothing calls this directly

Calls 1

extract_github_repoFunction · 0.90

Tested by

no test coverage detected