Commit Graph
98 Commits
Author SHA1 Message Date
Vincent Jacques c93e4b8ff4 Add tests for html_url for Issue and PullComment (#170)
I just modified the ReplayData manually and added a "get" in the tests.
2013-05-31 13:48:02 +02:00
Vincent Jacques db2a9db721 Add two new types of exceptions (issue #152) 2013-05-17 14:27:17 +02:00
Vincent Jacques 79365fe4bc De-activate our only intergration test, to pass on Travis-CI 2013-05-17 14:09:36 +02:00
Vincent Jacques 7f74a92b55 AuthenticatedUser.get_user_issues and Organization.get_issues (issue #166) 2013-05-17 13:52:49 +02:00
Vincent Jacques 1c4aec6891 Add parameters to AuthenticatedUser.get_issues (issue #166) 2013-05-17 13:42:43 +02:00
Vincent Jacques 97af2b6da2 Fix pagination with secret-key authentication (issue #158) 2013-04-25 14:31:51 +02:00
Vincent Jacques 10a567f62e Fix tests for #161 2013-04-25 09:51:37 +02:00
Vincent Jacques f5a01c1545 Fix tests for Python 3.3 (dictionary ordering...) 2013-04-22 23:01:16 +02:00
Vincent Jacques 73f9ae8f21 Merge branch 'topic/SpecificExceptions' into develop 2013-04-22 22:23:04 +02:00
Vincent Jacques eccc41097e Rename a file in a gist (issue #156) 2013-04-08 21:10:07 +02:00
Vincent Jacques 6861c5cd19 Delete file from gist (issue #156) 2013-04-08 21:07:17 +02:00
Vincent Jacques db5560bd65 Add a script to check copyrights with git log. And fix copyrights. 2013-03-29 16:54:15 +01:00
Vincent Jacques f266fed520 Fix tests for Python <= 2.6 2013-03-29 13:26:53 +01:00
Vincent Jacques c1d747a913 Refactor tests
We don't need to inspect the exception, so we can use
unittest.TestCase.assertRaises
2013-03-29 13:13:44 +01:00
Vincent Jacques 0bc368973a Raise a specific exception for non-existing objects (issue #152) 2013-03-29 13:10:59 +01:00
Vincent Jacques 7b3e4c15ed Raise a specific exception for bad credentials (issue #152) 2013-03-29 13:01:06 +01:00
Vincent Jacques e0db8cad4e pep8 2013-03-28 21:51:02 +01:00
Vincent Jacques 1c47be4e89 Document #pragma no covers (Issue #154) 2013-03-28 21:50:17 +01:00
Vincent Jacques 8a9afbb1aa Remove branches for hypothetical unknown Authorization headers 2013-03-28 21:49:39 +01:00
Vincent Jacques 1c67359a31 Improve test coverage a bit 2013-03-28 21:28:01 +01:00
Vincent Jacques 1d18bd66f3 Add a test that would have caught #153 2013-03-28 21:23:03 +01:00
Vincent Jacques b9d71fa787 Slightly improve coverage :-D 2013-03-28 21:05:19 +01:00
Vincent Jacques 1bb05fef01 Respect pep 8 2013-03-22 17:52:00 +01:00
Vincent Jacques d9b29851dd Fix tests for Python 2.5 2013-03-22 00:33:13 +01:00
Vincent Jacques f962bc71fe Fix tests for Python 2.5 2013-03-22 00:29:44 +01:00
Vincent Jacques 7a9c0b916c Fix tests on Python 3.3 (issue #149)
The output order of dicts has changed
2013-03-21 23:18:21 +01:00
Vincent Jacques 82ce7b1ee3 Fix tests for Python 3.2 on Windows 2013-03-21 22:06:24 +01:00
Vincent Jacques 1e99e7d5b2 Reduce 2to3 differences 2013-03-21 22:05:37 +01:00
Vincent Jacques da6bbdb694 Merge branch 'topic/Notifications' into develop 2013-03-19 23:14:29 +01:00
Vincent Jacques 34c18342dc Merge branch 'topic/ExposeRawData' into develop 2013-03-19 22:37:30 +01:00
Vincent Jacques 5d02de6f82 Restore 100% test coverage 2013-03-19 22:19:30 +01:00
Vincent Jacques 0901df1a2b Improve test coverage (pull #148) 2013-03-19 22:07:42 +01:00
Vincent Jacques edcf40bc7f Move get_notification(s) to AuthenticatedUser (pull #148) 2013-03-19 22:07:29 +01:00
Peter Golm 50a243671f Merge remote-tracking branch 'origin/develop' into NotificationAPI 2013-03-16 17:35:08 +01:00
Peter Golm 6a3a384fd0 this fixes #108 2013-03-16 17:28:56 +01:00
Vincent Jacques 3af543a1fe Add a way to create an object from raw data (Issue #144) 2013-03-14 12:32:46 +01:00
Vincent Jacques fa43e95268 Refactor XxxGithubObject 2013-03-14 12:31:36 +01:00
Vincent Jacques 2defd7b818 Expose raw data of objects (Issue #144) 2013-03-14 12:29:54 +01:00
Vincent Jacques 82f5b4c61f dos2unix 2013-03-14 12:27:12 +01:00
Vincent Jacques 6ac783974d Use assertTrue and assertFalse where applicable 2013-03-14 12:26:34 +01:00
Vincent Jacques e25a6a49d1 Add Github.per_page to tweak PaginatedList (Issue #145) 2013-03-14 12:01:41 +01:00
Vincent Jacques 0ddb34d987 Fix decoding on Python3 (bytes instead of str) (Issue #142) 2013-03-03 18:32:10 +01:00
Vincent Jacques 58ec2246dd Fix coverage 2013-02-20 18:51:16 +01:00
Vincent Jacques 1e8dda73db Fix pep8 and coverage 2013-02-17 13:53:13 +01:00
Vincent Jacques 6c84693d98 Fix unit tests (my sed was a bit violent) 2013-02-17 11:32:49 +01:00
Vincent Jacques 7a415fda66 Change home page 2013-02-16 21:19:49 +01:00
Vincent Jacques 04adab121e Implement Repository.get_dir_contents (issue #140) 2013-02-16 19:09:25 +01:00
Vincent Jacques ce05a0185d Fix lazy completion!!! (issue #139) 2013-02-08 08:33:58 +01:00
Vincent Jacques f533731151 Add a test showing the silly bug described in issue #139 2013-02-08 08:29:18 +01:00
Vincent Jacques 2215010b0e Retrieve scopes for current oauth token from response headers (Issue #134) 2013-02-06 00:04:29 +01:00