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

Method testGetContents

tests/Repository.py:1712–1714  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1710 self.assertFalse(self.repo.has_in_assignees(lyloa))
1711
1712 def testGetContents(self):
1713 self.assertEqual(len(self.repo.get_readme().content), 10212)
1714 self.assertEqual(len(self.repo.get_contents("doc/ReferenceOfClasses.md").content), 38121)
1715
1716 def testGetContentsDir(self):
1717 contents = self.repo.get_contents("")

Callers

nothing calls this directly

Calls 2

get_readmeMethod · 0.80
get_contentsMethod · 0.80

Tested by

no test coverage detected