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

Method testCreateComment

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

Source from the content-addressed store, hash-verified

196 self.issue.unlock()
197
198 def testCreateComment(self):
199 comment = self.issue.create_comment("Comment created by PyGithub")
200 self.assertEqual(comment.id, 5808311)
201
202 def testGetComments(self):
203 self.assertListKeyEqual(self.issue.get_comments(), lambda c: c.user.login, ["jacquev6", "roskakori"])

Callers

nothing calls this directly

Calls 1

create_commentMethod · 0.45

Tested by

no test coverage detected