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

Method setUp

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

Source from the content-addressed store, hash-verified

40
41class Persistence(Framework.TestCase):
42 def setUp(self):
43 super().setUp()
44 self.repo = self.g.get_repo("akfish/PyGithub")
45
46 self.dumpedRepo = IO()
47 self.g.dump(self.repo, self.dumpedRepo)
48 self.dumpedRepo.seek(0)
49
50 def tearDown(self):
51 self.dumpedRepo.close()

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected