MCPcopy
hub / github.com/PyGithub/PyGithub / testListCheckRunAnnotations

Method testListCheckRunAnnotations

tests/CheckRun.py:346–352  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

344 self.assertEqual(repr(annotation), 'CheckRunAnnotation(title="Spell Checker")')
345
346 def testListCheckRunAnnotations(self):
347 check_run = self.testrepo.get_check_run(1280914700)
348 self.assertEqual(check_run.name, "annotations")
349 self.assertEqual(check_run.status, "completed")
350 annotation_list = check_run.get_annotations()
351 self.assertEqual(annotation_list.totalCount, 2)
352 self.assertListEqual([annotation.start_line for annotation in annotation_list], [2, 4])

Callers

nothing calls this directly

Calls 2

get_check_runMethod · 0.80
get_annotationsMethod · 0.80

Tested by

no test coverage detected