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

Method testRepr

tests/OrganizationCodeScanAlert.py:94–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 self.assertEqual(test_alert.repository.full_name, "octocat/Hello-World")
93
94 def testRepr(self):
95 multiple_alerts = self.org.get_codescan_alerts()
96 alert_list = [alert for alert in multiple_alerts]
97 test_alert = alert_list[0]
98 self.assertEqual(repr(test_alert), 'OrganizationCodeScanAlert(number=4, id="js/zipslip")')
99
100 def testGetAlertsWithArguments(self):
101 alerts = self.org.get_codescan_alerts(

Callers

nothing calls this directly

Calls 1

get_codescan_alertsMethod · 0.45

Tested by

no test coverage detected