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

Method assertListKeyBegin

tests/Framework.py:585–587  ·  view source on GitHub ↗
(self, elements, key, expectedKeys)

Source from the content-addressed store, hash-verified

583 self.assertEqual(realKeys, expectedKeys)
584
585 def assertListKeyBegin(self, elements, key, expectedKeys):
586 realKeys = [key(element) for element in elements[: len(expectedKeys)]]
587 self.assertEqual(realKeys, expectedKeys)
588
589
590class TestCase(BasicTestCase):

Callers 15

testGetProjectsMethod · 0.80
testSearchReposMethod · 0.80
testSearchIssuesMethod · 0.80
testSearchTopicsMethod · 0.80
testGetEventsMethod · 0.80
testGetPublicEventsMethod · 0.80
testGetReceivedEventsMethod · 0.80
testGetCommitsMethod · 0.80
testGetEventsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected