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

Method testCreateComment

tests/Commit.py:124–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 )
123
124 def testCreateComment(self):
125 comment = self.commit.create_comment("Comment created by PyGithub")
126 self.assertEqual(comment.id, 1361949)
127 self.assertEqual(comment.line, None)
128 self.assertEqual(comment.path, None)
129 self.assertEqual(comment.position, None)
130
131 def testCreateCommentOnFileLine(self):
132 comment = self.commit.create_comment(

Callers

nothing calls this directly

Calls 1

create_commentMethod · 0.45

Tested by

no test coverage detected