Vincent Jacques
37c06ea4fc
Convert legacy objects to v3 ones
...
Still needed:
- test completion of objects returned by legacy API
- implement legacy pagination
2012-06-29 07:44:10 +02:00
Vincent Jacques
ed31abe6de
Add 4 (failing) tests for legacy search API (issue #49 )
...
Naïve implementation done in this commit will not work:
- pagination is managed another way
- users, repositories and issues do not have the standard format
2012-06-28 22:06:05 +01:00
Vincent Jacques
bdad6a4612
Create documentation and method stubs for issue #49 (legacy search api)
2012-06-28 21:27:53 +01:00
Vincent Jacques
efdaa8945d
Fix tests after merging #50 , and fix Repository.create_issue and .get_issues as well
2012-06-28 21:06:05 +01:00
Philip Kimmey
8d24a4523b
[Issue] replace use of label _identity with name
...
- The label's _identity attribute is URL encoded.
This is probably correct when it is being
used as part of an API endpoint URL, but
when used as part of the POST data, GitHub
will return a 422 error stating that the
label does not exist.
2012-06-25 11:42:48 -07:00
Vincent Jacques
425989c066
This 'except' clause is covered only with Python 2.5
2012-06-20 21:11:09 +01:00
Petteri Muilu
89ed7d6d8c
Testing with Python 2.5
2012-06-19 19:45:15 +03:00
Vincent Jacques
41c2b94f95
Add a copyright and license notice (issue #16 )
2012-06-03 19:56:33 +01:00
Vincent Jacques
d261b4ba46
Factorize checking of status
2012-06-03 11:33:37 +02:00
Vincent Jacques
dbad46e856
Test more exceptions
2012-06-02 13:26:09 +01:00
Vincent Jacques
5384d6f9a8
Simplify understanding of GithubExceptions by displaying the error message from Github
2012-06-02 13:07:23 +01:00
Vincent Jacques
9820c58477
Move generated code to 'github' instead of 'src/github'
2012-06-02 13:06:28 +01:00
Vincent Jacques
d631e83b79
Move files around
2012-05-10 18:10:17 +02:00
Vincent Jacques
1292bf0e22
Remove completion functions from GitAuthor
2012-05-09 18:22:33 +02:00
Vincent Jacques
b46ed0dfde
More assertions
2012-05-09 18:21:01 +02:00
Vincent Jacques
f14d761344
Structure some attributes
2012-05-09 18:20:44 +02:00
Vincent Jacques
f23ad16aaa
Add a GitAuthor class
2012-05-09 18:20:26 +02:00
Vincent Jacques
d4a6a3a344
Fix urls for git objects
2012-05-09 18:19:13 +02:00
Vincent Jacques
5e4cfeda7f
Test attributes of GitTree (needs a manual change in url in Repository.get_git_tree)
2012-05-09 18:13:28 +02:00
Vincent Jacques
c559faa680
Check types of received attributes
2012-05-09 18:12:30 +02:00
Vincent Jacques
bc08112dce
Do not try to __complete objects without url
2012-05-08 21:36:07 +02:00
Vincent Jacques
824b45490d
Add a Plan class
2012-05-08 21:27:27 +02:00
Vincent Jacques
1625a645de
Start to rewrite integration test
2012-05-08 10:42:12 +01:00
Vincent Jacques
74d7704bcd
Repository.get_languages => fix testRepositoryDetails
2012-05-08 09:15:23 +01:00
Vincent Jacques
e614a30e12
Fix testRepositoryCompare
2012-05-08 09:13:40 +01:00
Vincent Jacques
84dff1cca7
Fix testKeys
2012-05-08 08:59:13 +01:00
Vincent Jacques
fcd377e377
Fix testIssuesForAuthenticatedUser
2012-05-08 08:57:45 +01:00
Vincent Jacques
07e994823e
Fix testGists
2012-05-08 08:36:50 +01:00
Vincent Jacques
dd0c6e63f4
Fix testEvents
2012-05-05 19:20:27 +02:00
Vincent Jacques
c3dd5cd2f1
Fix testGistsAll, improve testEvents
2012-05-05 16:43:13 +02:00
Vincent Jacques
bddf2051b5
Restore pagination
2012-05-05 10:00:18 +02:00
Vincent Jacques
1f4dbae94a
Pass url parameters to __requester.request => Fix testCreateForkForOrganization
2012-05-05 09:14:36 +02:00
Vincent Jacques
f0430bb535
Restore some tests and explain why others are failing
2012-05-04 16:28:12 +02:00
Vincent Jacques
7c749bf445
Fix testEditOrganizationTeamAndMembers (Use _identity to fix has_in_, add_to_, remove_from_)
2012-05-04 15:45:08 +02:00
Vincent Jacques
5ae4dd1233
Allow None as a valid value for an optional parameter (fix testEditOrganization)
2012-05-04 14:57:46 +02:00
Vincent Jacques
fa9e5df05a
Fix testDownloads (get_element)
2012-05-04 14:48:19 +02:00
Vincent Jacques
e91c7a7fd5
Fix some tests (create_fork)
2012-05-04 14:25:18 +02:00
Vincent Jacques
5b1bfe7c39
Fix testCommentCommit (create_xxx, delete, edit)
2012-05-04 14:11:01 +02:00
Vincent Jacques
229b218ce6
Simplify
2012-05-04 14:02:07 +02:00
Vincent Jacques
3468e9ea1e
Refactor templates
2012-05-04 13:47:37 +02:00
Vincent Jacques
ce0aa9f34f
Put private methods after public ones
2012-05-04 12:55:24 +02:00
Vincent Jacques
07af042cf1
Fix testColaborators (add_element, remove_element, has_element)
2012-05-04 12:53:37 +02:00
Vincent Jacques
be337860c6
Temporary hack for get_repos
2012-05-04 11:40:39 +02:00
Vincent Jacques
edad378e7b
Fix github.get_organization => fix testOrganizationDetails!
2012-05-03 22:40:28 +01:00
Vincent Jacques
ca863533b5
Fix attributes of complex type => fix testNamedUserDetails!
2012-05-03 22:37:22 +01:00
Vincent Jacques
d64c1e89a5
Fix references to current class
2012-05-03 22:32:40 +01:00
Vincent Jacques
46883927a6
Fix github.get_user( login )
2012-05-03 22:30:39 +01:00
Vincent Jacques
82dc2225a7
Fix completion and lazyness
2012-05-03 22:30:06 +01:00
Vincent Jacques
2f536fd95d
GithubObject.edit => restore testEditAuthenticatedUser
2012-05-03 22:29:24 +01:00
Vincent Jacques
68329733db
Small refactoring on lazy completion
2012-05-03 22:06:13 +01:00