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

Method testDeleteFile

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

Source from the content-addressed store, hash-verified

1835 )
1836
1837 def testDeleteFile(self):
1838 deleteFile = "doc/testCreateUpdateDeleteFile.md"
1839 sha = self.repo.get_contents(deleteFile).sha
1840 self.repo.delete_file(
1841 path=deleteFile,
1842 message="Delete file for testDeleteFile",
1843 sha=sha,
1844 branch="master",
1845 )
1846
1847 def testGetArchiveLink(self):
1848 self.assertEqual(

Callers

nothing calls this directly

Calls 2

get_contentsMethod · 0.80
delete_fileMethod · 0.80

Tested by

no test coverage detected