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

Method testCreateComment

tests/Gist.py:147–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145 self.assertEqual(list(gist.files.keys()), ["baz.txt"])
146
147 def testCreateComment(self):
148 gist = self.g.get_gist("2729810")
149 comment = gist.create_comment("Comment created by PyGithub")
150 self.assertEqual(comment.id, 323629)
151
152 def testGetComments(self):
153 gist = self.g.get_gist("2729810")

Callers

nothing calls this directly

Calls 2

get_gistMethod · 0.80
create_commentMethod · 0.45

Tested by

no test coverage detected