MCPcopy
hub / github.com/PyGithub/PyGithub / testOtherUrl

Method testOtherUrl

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

Source from the content-addressed store, hash-verified

67 assert response == self.expected()
68
69 def testOtherUrl(self):
70 base_url = "https://my.enterprise.com/api/v3"
71 gh = Github(base_url=base_url)
72 pull = gh.get_repo("PyGithub/PyGithub").get_pull(31)
73 response = pull.disable_automerge()
74 assert response == self.expected(base_url)
75
76 def testOtherPort(self):
77 base_url = "https://my.enterprise.com:8080/api/v3"

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