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

Method test_deep_path

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

Source from the content-addressed store, hash-verified

927 assert extract_github_repo("https://github.com/org/repo/") == "org/repo"
928
929 def test_deep_path(self):
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"

Callers

nothing calls this directly

Calls 1

extract_github_repoFunction · 0.90

Tested by

no test coverage detected