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

Method testGetComments

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

Source from the content-addressed store, hash-verified

150 self.assertEqual(comment.id, 323629)
151
152 def testGetComments(self):
153 gist = self.g.get_gist("2729810")
154 self.assertListKeyEqual(gist.get_comments(), lambda c: c.id, [323637])
155
156 def testStarring(self):
157 gist = self.g.get_gist("2729810")

Callers

nothing calls this directly

Calls 3

get_gistMethod · 0.80
assertListKeyEqualMethod · 0.80
get_commentsMethod · 0.45

Tested by

no test coverage detected