diff options
author | 2012-02-19 19:41:26 +0100 | |
---|---|---|
committer | 2012-02-19 19:41:26 +0100 | |
commit | 3594257f6428988ebb7a87eef47feee206c5dc83 (patch) | |
tree | 98898b67eeff42ceb5bae5a98ab6816448c61619 /pygithub3/tests/services/test_repos.py | |
parent | Repos commits added (diff) | |
download | python-github3-3594257f6428988ebb7a87eef47feee206c5dc83.tar.xz python-github3-3594257f6428988ebb7a87eef47feee206c5dc83.zip |
Fix test imports
Diffstat (limited to 'pygithub3/tests/services/test_repos.py')
-rw-r--r-- | pygithub3/tests/services/test_repos.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pygithub3/tests/services/test_repos.py b/pygithub3/tests/services/test_repos.py index f8414d5..963e12a 100644 --- a/pygithub3/tests/services/test_repos.py +++ b/pygithub3/tests/services/test_repos.py @@ -8,8 +8,9 @@ from mock import patch, Mock from pygithub3.services.repos import Repo, Collaborator, Commits from pygithub3.resources.base import json -from pygithub3.tests.utils.base import mock_response, mock_response_result -from pygithub3.tests.utils.services import _, mock_json +from pygithub3.tests.utils.base import (mock_response, mock_response_result, + mock_json) +from pygithub3.tests.utils.services import _ json.dumps = Mock(side_effect=mock_json) json.loads = Mock(side_effect=mock_json) |