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

Method test_github_url

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

Source from the content-addressed store, hash-verified

915
916class TestExtractGithubRepo:
917 def test_github_url(self):
918 assert extract_github_repo("https://github.com/psf/requests") == "psf/requests"
919
920 def test_non_github_url(self):
921 assert extract_github_repo("https://foss.heptapod.net/pypy/pypy") is None

Callers

nothing calls this directly

Calls 1

extract_github_repoFunction · 0.90

Tested by

no test coverage detected