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

Method test_trailing_slash

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

Source from the content-addressed store, hash-verified

924 assert extract_github_repo("https://user.github.io/proj") is None
925
926 def test_trailing_slash(self):
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

Callers

nothing calls this directly

Calls 1

extract_github_repoFunction · 0.90

Tested by

no test coverage detected