MCPcopy
hub / github.com/PyGithub/PyGithub / testOtherPort

Method testOtherPort

tests/GraphQl.py:76–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 assert response == self.expected(base_url)
75
76 def testOtherPort(self):
77 base_url = "https://my.enterprise.com:8080/api/v3"
78 gh = Github(base_url=base_url)
79 pull = gh.get_repo("PyGithub/PyGithub").get_pull(31)
80 response = pull.disable_automerge()
81 assert response == self.expected(base_url)
82
83 def testNode(self):
84 requester = self.g._Github__requester

Callers

nothing calls this directly

Calls 5

get_repoMethod · 0.95
expectedMethod · 0.95
GithubClass · 0.90
get_pullMethod · 0.80
disable_automergeMethod · 0.80

Tested by

no test coverage detected