Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
43
class
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_label
Method · 0.80
get_repo
Method · 0.45
Tested by
no test coverage detected