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

Method testEnableAutomergeNotValidMergeMethod

tests/PullRequest.py:647–649  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 self.pull.enable_automerge()
646
647 def testEnableAutomergeNotValidMergeMethod(self):
648 with pytest.raises(AssertionError):
649 self.pull.enable_automerge(merge_method="INVALID")
650
651 def testEnableAutomergeError(self):
652 # To reproduce this, the PR repository need to have the "Allow auto-merge" option disabled

Callers

nothing calls this directly

Calls 1

enable_automergeMethod · 0.80

Tested by

no test coverage detected