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

Method setUp

tests/Label.py:44–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43class Label(Framework.TestCase):
44 def setUp(self):
45 super().setUp()
46 self.label = self.g.get_repo("PyGithub/PyGithub").get_label("Bug")
47
48 def testAttributes(self):
49 self.assertEqual(self.label.color, "e10c02")

Callers

nothing calls this directly

Calls 2

get_labelMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected