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

Method testMergeWithNothingToDo

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

Source from the content-addressed store, hash-verified

1882 self.assertEqual(commit.commit.message, "Commit message created by PyGithub")
1883
1884 def testMergeWithNothingToDo(self):
1885 commit = self.repo.merge("branchForBase", "branchForHead", "Commit message created by PyGithub")
1886 self.assertEqual(commit, None)
1887
1888 def testMergeWithConflict(self):
1889 with self.assertRaises(github.GithubException) as raisedexp:

Callers

nothing calls this directly

Calls 1

mergeMethod · 0.45

Tested by

no test coverage detected