diff options
author | 2012-06-16 13:11:24 +0200 | |
---|---|---|
committer | 2012-06-16 13:11:24 +0200 | |
commit | 4e07cc24f1aa58ef5d3301bd6e9259bfb7fec0dc (patch) | |
tree | 1c60858b781bcca9bd2a4ffe8f255e2ce88b3ad5 /pygithub3 | |
parent | Refact normalize of dates into base.Service (diff) | |
download | python-github3-4e07cc24f1aa58ef5d3301bd6e9259bfb7fec0dc.tar.xz python-github3-4e07cc24f1aa58ef5d3301bd6e9259bfb7fec0dc.zip |
Remove list_labels from repo service
in favour of issues.labels.list() to maintain the same structure
with Github API docs
Diffstat (limited to 'pygithub3')
-rw-r--r-- | pygithub3/tests/services/test_repos.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pygithub3/tests/services/test_repos.py b/pygithub3/tests/services/test_repos.py index a07635a..e21d474 100644 --- a/pygithub3/tests/services/test_repos.py +++ b/pygithub3/tests/services/test_repos.py @@ -134,18 +134,6 @@ class TestRepoService(TestCase): self.assertEqual(request_method.call_args[0], ('get', _('repos/octocat/octocat_repo/branches'))) - def test_LIST_labels(self, request_method): - request_method.return_value = mock_response_result() - self.rs.list_labels().all() - self.assertEqual(request_method.call_args[0], - ('get', _('repos/octocat/octocat_repo/labels'))) - - def test_LIST_milestones(self, request_method): - request_method.return_value = mock_response_result() - self.rs.list_milestones().all() - self.assertEqual(request_method.call_args[0], - ('get', _('repos/octocat/octocat_repo/milestones'))) - @patch.object(requests.sessions.Session, 'request') class TestCollaboratorsService(TestCase): |