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

Method setUp

tests/IssueType.py:33–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31
32class IssueType(Framework.TestCase):
33 def setUp(self):
34 super().setUp()
35 with self.replayData("Issue.setUp.txt"):
36 self.repo = self.g.get_repo("PyGithub/PyGithub")
37 self.issue = self.repo.get_issue(28)
38 self.type = self.issue.type
39
40 def testAttributes(self):
41 self.assertEqual(self.type.color, "red")

Callers

nothing calls this directly

Calls 3

replayDataMethod · 0.80
get_repoMethod · 0.45
get_issueMethod · 0.45

Tested by

no test coverage detected