Vincent Jacques
ccf59e62af
Make 'isCompletable = True' the default case
2012-05-31 18:07:03 +02:00
Vincent Jacques
3837e6b418
Factorize repeated code in base class GithubObject
2012-05-30 20:40:14 +01:00
Vincent Jacques
61e2fa67ac
Only one class per file
2012-05-30 19:07:55 +01:00
Vincent Jacques
7248e66831
Check HTTP status on all requests
2012-05-30 18:58:18 +02:00
Vincent Jacques
81ca19a009
Merge constant parts in urls
2012-05-30 18:56:39 +02:00
Vincent Jacques
12d427464f
Remove the notion of ImmediateCompletion
2012-05-30 19:00:37 +02:00
Vincent Jacques
7a622975d6
Improve type asserts on lists
2012-05-30 18:43:29 +02:00
Vincent Jacques
b2cdba9cb5
Manual implementation of some status checks
2012-05-30 18:40:22 +02:00
Vincent Jacques
b42e1284ec
Structure the result of PullRequest.merge
2012-05-30 18:36:01 +02:00
Vincent Jacques
96f273d068
Test PaginatedList
2012-05-29 21:47:13 +01:00
Vincent Jacques
0112938137
Structure some attributes
2012-05-29 20:22:31 +01:00
Vincent Jacques
244dca42c1
Re-implement url parameters and test them (issue #36 )
2012-05-29 19:44:25 +01:00
Vincent Jacques
ca6e7ef9ce
Automatic implementation of url_parameters
2012-05-29 19:00:57 +01:00
Vincent Jacques
169574dab6
Manual implementation of some url parameters
2012-05-29 18:52:45 +01:00
Vincent Jacques
65ed64d8c8
Integrate some generated code excluded by mistake
2012-05-29 17:35:10 +01:00
Vincent Jacques
e5d57323b6
Remove some easy or obsolete 'todo's
...
See issues #2 #4 #18 #35 #36 #37
2012-05-29 19:49:50 +02:00
Vincent Jacques
b386d422e5
Fix issue #33 and add an integration test
2012-05-29 18:58:33 +02:00
Vincent Jacques
eaa1bbe268
Revert "Remove one argument of Requester.request"
...
We will need it soon for all url parameters not yet used
This reverts commit 9fa4e8ff5e .
Conflicts:
codegen/templates/GithubObject.MethodBody.DoRequest.py
src/github/Organization.py
2012-05-29 18:10:12 +02:00
Vincent Jacques
821ac669f2
Set types of many parameters
2012-05-27 20:46:29 +01:00
Vincent Jacques
c4bebd9a11
Assert types of parameters of methods of Repository and RepositoryKey
2012-05-27 15:59:49 +01:00
Vincent Jacques
49d86183a9
Start to assert the type of the arguments
2012-05-27 15:46:30 +01:00
Vincent Jacques
9fa4e8ff5e
Remove one argument of Requester.request
2012-05-27 15:10:44 +01:00
Vincent Jacques
a12b56492f
Fix many attribute types
2012-05-27 14:58:06 +01:00
Vincent Jacques
e1f32e233f
De-hard-code repository in RepositoryKey.
...
Why is RepositoryKey the *only* class where PATCH and DELETE do not work on self.url?
2012-05-27 13:59:17 +01:00
Vincent Jacques
b419859573
Generate code for parent url
2012-05-27 13:44:01 +01:00
Vincent Jacques
075d3d961d
Generate code for url quoting
2012-05-27 13:30:38 +01:00
Vincent Jacques
4bf2e31da7
Generate correct code for variadic complex parameter
2012-05-27 13:13:29 +01:00
Vincent Jacques
5aceaa19f2
Reduce differences between generated code and correct code
2012-05-27 13:06:50 +01:00
Vincent Jacques
306e43bbff
Move 'todo's out of generated code
2012-05-27 12:24:21 +01:00
Vincent Jacques
855cc5dbd6
Do not assert that we know all the attributes we receive
2012-05-27 12:19:45 +01:00
Vincent Jacques
55fd05fb2b
Finally achieve 100% coverage! Now is time to refactor and deliver!
2012-05-27 12:12:03 +01:00
Vincent Jacques
b098940574
Test PullRequests
2012-05-27 11:53:22 +01:00
Vincent Jacques
8a4f306d4b
Test (and implement) Issue.*_label*
...
And this commit will be used to test PullRequests
2012-05-27 10:07:47 +01:00
Vincent Jacques
93dcae5cf2
Remove branch coverage for optional attributes (temporary?)
2012-05-27 08:37:17 +01:00
Vincent Jacques
8a1b00adce
Improve test coverage
2012-05-27 08:28:43 +01:00
Vincent Jacques
8cb3e63e80
Test Team
2012-05-26 22:19:34 +01:00
Vincent Jacques
a39af6a0aa
Improve test coverage
2012-05-26 21:53:55 +01:00
Vincent Jacques
619eae8d51
Improve coverage of AuthenticatedUser
2012-05-26 10:57:10 +01:00
Vincent Jacques
12747613c5
Test Issue.getComments
2012-05-26 10:44:20 +01:00
Vincent Jacques
3a3bf47631
Merge branch 'master' into topic/RewriteWithGeneratedCode
...
Conflicts:
github/Github.py
github/Requester.py
2012-05-26 10:08:07 +01:00
Vincent Jacques
527ce7459a
Merge commit 'c93f9cc8484b7' into topic/RewriteWithGeneratedCode
...
Conflicts:
test/IntegrationTest.py
2012-05-22 20:59:30 +01:00
Vincent Jacques
473c92adcd
Test Download and CommitComment
2012-05-22 20:18:37 +01:00
Vincent Jacques
815720f0de
Test Authorization
2012-05-22 19:32:54 +01:00
Vincent Jacques
ca974699b0
Retrieve rate limiting information
2012-05-21 13:15:34 +02:00
Vincent Jacques
6a2e4b4958
Improve test coverage of NamedUser
2012-05-20 13:35:11 +01:00
Vincent Jacques
beaa58ca0c
Test IssueEvent attributes
2012-05-20 13:08:17 +01:00
Vincent Jacques
fd18d6299d
Test IssueComment
2012-05-20 12:57:38 +01:00
Vincent Jacques
c1787205ba
Test Milestone
2012-05-19 11:39:48 +01:00
Vincent Jacques
72c34a840d
Test labels (new special case in Repository.get_label...)
2012-05-19 11:19:13 +01:00
Vincent Jacques
a097671795
Test Gist
2012-05-19 08:32:14 +01:00