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

Method testReturnsRepoAfterSettingPoolSizeHttp

tests/PoolSize.py:42–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.assertEqual(repository.full_name, REPO_NAME)
41
42 def testReturnsRepoAfterSettingPoolSizeHttp(self):
43 g = github.Github(
44 auth=self.oauth_token,
45 base_url="http://my.enterprise.com",
46 pool_size=20,
47 )
48 repository = g.get_repo(REPO_NAME)
49 self.assertIsInstance(repository, github.Repository.Repository)
50 self.assertEqual(repository.full_name, REPO_NAME)

Callers

nothing calls this directly

Calls 1

get_repoMethod · 0.95

Tested by

no test coverage detected