MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testCreateGitRef

Method testCreateGitRef

tests/Repository.py:437–445  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

435 self.assertEqual(hook.id, 257993)
436
437 def testCreateGitRef(self):
438 ref = self.repo.create_git_ref(
439 "refs/heads/BranchCreatedByPyGithub",
440 "4303c5b90e2216d927155e9609436ccb8984c495",
441 )
442 self.assertEqual(
443 ref.url,
444 "https://api.github.com/repos/PyGithub/PyGithub/git/refs/heads/BranchCreatedByPyGithub",
445 )
446
447 def testCreateAutolink(self):
448 key = self.repo.create_autolink("DUMMY-", "https://github.com/PyGithub/PyGithub/issues/<num>")

Callers

nothing calls this directly

Calls 1

create_git_refMethod · 0.80

Tested by

no test coverage detected