Commit Graph
98 Commits
Author SHA1 Message Date
Vincent Jacques df63f6be2c Implement legacy pagination 2012-06-29 18:10:24 +01:00
Vincent Jacques 7e695132fc Add a (failing) test for legacy pagination 2012-06-29 18:10:12 +01:00
Vincent Jacques d8882e53ed Improve legacy APIs:
- add a legacy_ prefix (avoir future name clashes)
- add the language parameter to Github.legacy_search_repos
- prepare legacy pagination
2012-06-29 18:09:43 +01:00
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 efdaa8945d Fix tests after merging #50, and fix Repository.create_issue and .get_issues as well 2012-06-28 21:06:05 +01:00
Vincent Jacques cc775229d3 Add (failing) integration tests for issue #50 (labels with spaces in name) 2012-06-28 20:50:53 +01:00
Vincent Jacques 41c2b94f95 Add a copyright and license notice (issue #16) 2012-06-03 19:56:33 +01:00
Vincent Jacques b2ce4ae66e Set executable attribute of IntegrationTest.py 2012-06-03 14:32:20 +02:00
Vincent Jacques 5e250d1265 Remove last silly 'todo's (issue #34) 2012-06-02 13:44:20 +01: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 a842a90e7d Remove silly 'todo's in replay data 2012-06-02 08:31:01 +01:00
Vincent Jacques 76f05598f4 Use datetime where it makes sence (issue #41) 2012-06-02 08:28:34 +01:00
Vincent Jacques dc8143c12e Implement wildcards ("*" and "none") for milestone and assignee in Repository.get_issues 2012-06-02 07:19:49 +01:00
Vincent Jacques 1527a836b3 Structure more parameters
We will HAVE to reduce differences between generated
code and code that actualy works...
2012-06-01 21:16:42 +01:00
Vincent Jacques ed7d1531d7 Structure parameters of Issue.edit 2012-06-01 20:00:03 +01:00
Vincent Jacques 8b6d463cd9 Generate code for complex parameters
(+ find bug in Repository.create_commit with parents !)
2012-06-01 19:41:50 +01:00
Vincent Jacques b3fce397c0 Restore compatibility with Python 2.6
Remove:
- dict comprehensions
- unittest.TestCase.assertRaises with only one argument
2012-06-01 19:05:02 +01:00
Vincent Jacques 9954a3fd1b Manual implementation of typing of last parameters 2012-06-01 18:54:35 +01:00
Vincent Jacques 0cc1743b3c A litle bit more structure 2012-05-31 19:43:33 +01:00
Vincent Jacques c4bb0e9555 Structure some attributes 2012-05-31 19:02:03 +01:00
Vincent Jacques 6d795bd429 Remove old 'todo's 2012-05-30 21:06:29 +01: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 72166302fc Add a test for the 950 closed issues refered by issue #33 2012-05-29 19:49:26 +01:00
Vincent Jacques 244dca42c1 Re-implement url parameters and test them (issue #36) 2012-05-29 19:44:25 +01:00
Vincent Jacques 169574dab6 Manual implementation of some url parameters 2012-05-29 18:52:45 +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 5979802348 Use Linux line-endings when recording integration tests on Windows 2012-05-29 19:00:38 +02:00
Vincent Jacques b386d422e5 Fix issue #33 and add an integration test 2012-05-29 18:58:33 +02:00
Vincent Jacques d6835ff949 dos2unix 2012-05-28 18:29:08 +02:00
Vincent Jacques a12b56492f Fix many attribute types 2012-05-27 14:58:06 +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 4aadfff21c Improve test coverage 2012-05-27 08:33:23 +01:00
Vincent Jacques 8a1b00adce Improve test coverage 2012-05-27 08:28:43 +01:00
Vincent Jacques 956279094a Test Repository.create_git_* 2012-05-27 06:59:31 +01:00
Vincent Jacques 4169010f17 Improve coverage of Organization 2012-05-27 06:24:22 +01:00
Vincent Jacques e7fe18b7dd Test Organization members 2012-05-27 06:09:53 +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 60fb7a8ef5 Heavy refactoring of integration tests 2012-05-26 18:13:32 +01:00
Vincent Jacques 36574ded89 Refactor tests of Repository 2012-05-26 12:25:35 +01:00
Vincent Jacques ff8d87d539 Test NamedUser.create_gist withour description 2012-05-26 12:08:48 +01:00
Vincent Jacques 1b3ca70ebe Restore coverage of Event 2012-05-26 12:03:41 +01:00