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

Method testDefaultUrl

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

Source from the content-addressed store, hash-verified

62 assert "/path/to/github/graphql" == get_graphql_prefix("/path/to/github")
63
64 def testDefaultUrl(self):
65 pull = self.g.get_repo("PyGithub/PyGithub").get_pull(31)
66 response = pull.disable_automerge()
67 assert response == self.expected()
68
69 def testOtherUrl(self):
70 base_url = "https://my.enterprise.com/api/v3"

Callers

nothing calls this directly

Calls 4

expectedMethod · 0.95
get_pullMethod · 0.80
disable_automergeMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected