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

Method testCreateRepositoryWithAutoInit

tests/Organization.py:460–464  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

458 self.assertFalse(repo.has_pages)
459
460 def testCreateRepositoryWithAutoInit(self):
461 repo = self.org.create_repo(name="TestPyGithub", auto_init=True, gitignore_template="Python")
462 self.assertEqual(repo.url, "https://api.github.com/repos/BeaverSoftware/TestPyGithub")
463 self.assertTrue(repo.has_pages)
464 self.assertTrue(repo.has_wiki)
465
466 def testCreateFork(self):
467 pygithub = self.g.get_user("jacquev6").get_repo("PyGithub")

Callers

nothing calls this directly

Calls 1

create_repoMethod · 0.45

Tested by

no test coverage detected