Fix public/private in Repository.edit (#199)

This commit is contained in:
Vincent Jacques
2013-10-20 19:03:35 -07:00
parent d445be9a7f
commit 5093cc255a
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ class Repository(Framework.TestCase):
self.repo.edit("PyGithub")
def testEditWithAllArguments(self):
self.repo.edit("PyGithub", "Description edited by PyGithub", "http://vincent-jacques.net/PyGithub", public=True, has_issues=True, has_wiki=False, has_downloads=True)
self.repo.edit("PyGithub", "Description edited by PyGithub", "http://vincent-jacques.net/PyGithub", private=True, has_issues=True, has_wiki=False, has_downloads=True)
self.assertEqual(self.repo.description, "Description edited by PyGithub")
self.repo.edit("PyGithub", "Python library implementing the full Github API v3")
self.assertEqual(self.repo.description, "Python library implementing the full Github API v3")