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

Method testPicklePaginatedList

tests/Pickle.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self.assertEqual(len(repo2._requester._Requester__custom_connections), 0)
59
60 def testPicklePaginatedList(self):
61 gh = github.Github()
62 repo = gh.get_repo(REPO_NAME, lazy=True)
63 branches = repo.get_branches()
64 branches2 = pickle.loads(pickle.dumps(branches))
65 self.assertIsInstance(branches2, PaginatedList)
66
67 auths = [
68 Login("login", "password"),

Callers

nothing calls this directly

Calls 2

get_repoMethod · 0.95
get_branchesMethod · 0.80

Tested by

no test coverage detected