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

Method testLoad

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

Source from the content-addressed store, hash-verified

52 super().tearDown()
53
54 def testLoad(self):
55 loadedRepo = self.g.load(self.dumpedRepo)
56 self.assertTrue(isinstance(loadedRepo, github.Repository.Repository))
57 self.assertTrue(loadedRepo._requester is self.repo._requester)
58 self.assertTrue(loadedRepo.owner._requester is self.repo._requester)
59 self.assertEqual(loadedRepo.name, "PyGithub")
60 self.assertEqual(loadedRepo.url, "https://api.github.com/repos/akfish/PyGithub")
61
62 def testLoadAndUpdate(self):
63 loadedRepo = self.g.load(self.dumpedRepo)

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected