public
Description: Python interface for talking to the github API
Clone URL: git://github.com/dustin/py-github.git
Put docstrings on some of the undocstringed tests.
dustin (author)
Sat May 24 12:24:08 -0700 2008
commit  eef5ef3d043183ec3992426f67aa487854343bc2
tree    9ca28341a37b754aad5ae45a4968d15494f0078b
parent  599cd864ea345af6f9e0ee59aba840f13e5d201f
...
104
105
106
 
107
108
109
...
122
123
124
 
125
126
127
...
146
147
148
 
149
150
151
...
104
105
106
107
108
109
110
...
123
124
125
126
127
128
129
...
148
149
150
151
152
153
154
0
@@ -104,6 +104,7 @@ class GitHubTest(unittest.TestCase):
0
         self.assertEquals('<<SearchResults with 30 repos>>', `res`)
0
 
0
     def testCommitsBase(self):
0
+ """Basic test of a commit"""
0
         commits=self.__loadCommits()
0
         self.assertEquals(30, len(commits))
0
         c=commits[0]
0
@@ -122,6 +123,7 @@ class GitHubTest(unittest.TestCase):
0
         self.assertEquals('dustin@spy.net', c.committer.email)
0
 
0
     def testCommitWithAdd(self):
0
+ """Testing a commit with some adds."""
0
         c= self.__loadCommit('commit-with-add.xml')
0
         self.assertEquals('33464f2c56ed5fd64319d8dcc52fdfdb5db9d8ae', c.id)
0
         self.assertEquals('b73e9af69c043f68b19aa000980e56377fddb600', c.tree)
0
@@ -146,6 +148,7 @@ class GitHubTest(unittest.TestCase):
0
         self.assertTrue('GitHubTest' in c.modified[1].diff)
0
 
0
     def testCommitWithMerge(self):
0
+ """Testing a commit with a merge."""
0
         c= self.__loadCommit('commit-merge.xml')
0
         self.assertEquals('c80c0d9557bc88ec236e7de9854f738c1d6c03b9', c.id)
0
         self.assertEquals('27d3edfc5f719e1f59871b420a5a4af6616ddca0', c.tree)

Comments

    No one has commented yet.