From b24d995b4c8b2072d0d3aadafa350e960485d93f Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Sat, 3 Mar 2012 11:23:29 +0000 Subject: [PATCH] CreateRepo --- NewIntegrationTest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/NewIntegrationTest.py b/NewIntegrationTest.py index 1070a038..67f537a1 100644 --- a/NewIntegrationTest.py +++ b/NewIntegrationTest.py @@ -183,6 +183,14 @@ class IntegrationTest: rf = o.create_fork( r ) print r.owner.login + "/" + r.name, "->", rf.owner.login + "/" + rf.name + def testCreateRepoForOrganization( self ): + o = self.g.get_organization( self.cobayeOrganization ) + r = o.create_repo( "CreatedByPyGithub", has_wiki = False ) + + def testCreateRepoForUser( self ): + u = self.g.get_user() + r = u.create_repo( "CreatedByPyGithub", has_wiki = False ) + def testEditAuthenticatedUser( self ): u = self.g.get_user() originalName = u.name