MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / test_origin_url

Function test_origin_url

lib/cli/tests/test_git.py:110–115  ·  view source on GitHub ↗
(fp, repository)

Source from the content-addressed store, hash-verified

108
109
110def test_origin_url(fp, repository):
111 fp.register(
112 ["git", "remote", "get-url", "origin"],
113 stdout="https://github.com/user/repo.git\n",
114 )
115 assert repository.origin_url() == "https://github.com/user/repo.git"
116
117
118def test_initialize_creates_initial_commit(fp, tmp_path):

Callers

nothing calls this directly

Calls 2

origin_urlMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected