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

Method testGetReactions

tests/Issue.py:307–309  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305 self.assertListKeyEqual(self.issue.get_labels(), lambda lb: lb.name, ["Bug", "Question"])
306
307 def testGetReactions(self):
308 reactions = self.issue.get_reactions()
309 self.assertEqual(reactions[0].content, "+1")
310
311 def testCreateReaction(self):
312 reaction = self.issue.create_reaction("hooray")

Callers

nothing calls this directly

Calls 1

get_reactionsMethod · 0.45

Tested by

no test coverage detected