diff options
author | 2012-03-01 19:57:59 +0100 | |
---|---|---|
committer | 2012-03-01 19:57:59 +0100 | |
commit | b891dfb211f9a58e5d834ccd148943286c45f61c (patch) | |
tree | c90ab9489c5217151c1f1c716aea8fa39b303393 /pygithub3/tests/services/test_repos.py | |
parent | Repos.watchers service done (diff) | |
parent | Complete services.repos doc (diff) | |
download | python-github3-b891dfb211f9a58e5d834ccd148943286c45f61c.tar.xz python-github3-b891dfb211f9a58e5d834ccd148943286c45f61c.zip |
Merge branch 'docs'
Diffstat (limited to 'pygithub3/tests/services/test_repos.py')
-rw-r--r-- | pygithub3/tests/services/test_repos.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygithub3/tests/services/test_repos.py b/pygithub3/tests/services/test_repos.py index 6f4ed71..865c5df 100644 --- a/pygithub3/tests/services/test_repos.py +++ b/pygithub3/tests/services/test_repos.py @@ -6,7 +6,7 @@ from unittest import TestCase import requests from mock import patch, Mock -from pygithub3.services.repos import (Repo, Collaborator, Commits, Downloads, +from pygithub3.services.repos import (Repos, Collaborators, Commits, Downloads, Forks, Keys, Watchers) from pygithub3.resources.base import json from pygithub3.tests.utils.base import (mock_response, mock_response_result, @@ -21,7 +21,7 @@ json.loads = Mock(side_effect=mock_json) class TestRepoService(TestCase): def setUp(self): - self.rs = Repo() + self.rs = Repos() self.rs.set_user('octocat') self.rs.set_repo('octocat_repo') @@ -146,7 +146,7 @@ class TestRepoService(TestCase): class TestCollaboratorsService(TestCase): def setUp(self): - self.cs = Collaborator() + self.cs = Collaborators() self.cs.set_user('octocat') self.cs.set_repo('oc_repo') |