diff options
| author | 2012-03-01 23:23:15 +0100 | |
|---|---|---|
| committer | 2012-03-01 23:23:15 +0100 | |
| commit | 6ce9f197f4681875a2595a5a8d86bd047f993a99 (patch) | |
| tree | 0bd35db35b9fe09eccd7262fcc60b4ada5f07e44 /pygithub3/tests/core | |
| parent | Merge branch 'docs' (diff) | |
| download | python-github3-6ce9f197f4681875a2595a5a8d86bd047f993a99.tar.xz python-github3-6ce9f197f4681875a2595a5a8d86bd047f993a99.zip | |
Python 2.6 compatibility
Diffstat (limited to 'pygithub3/tests/core')
| -rw-r--r-- | pygithub3/tests/core/test_client.py | 4 | ||||
| -rw-r--r-- | pygithub3/tests/core/test_result.py | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/pygithub3/tests/core/test_client.py b/pygithub3/tests/core/test_client.py index 4a68687..f65fc80 100644 --- a/pygithub3/tests/core/test_client.py +++ b/pygithub3/tests/core/test_client.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- -from unittest import TestCase - import requests + from mock import patch +from pygithub3.tests.utils.core import TestCase from pygithub3.core.client import Client from pygithub3.exceptions import NotFound, BadRequest, UnprocessableEntity from pygithub3.tests.utils.base import mock_response diff --git a/pygithub3/tests/core/test_result.py b/pygithub3/tests/core/test_result.py index 3c26630..a42bd44 100644 --- a/pygithub3/tests/core/test_result.py +++ b/pygithub3/tests/core/test_result.py @@ -1,10 +1,9 @@ #!/usr/bin/env python # -*- encoding: utf-8 -*- -from unittest import TestCase - from mock import Mock +from pygithub3.tests.utils.core import TestCase from pygithub3.core.client import Client from pygithub3.core.result import Result, Page from pygithub3.tests.utils.core import (mock_paginate_github_in_GET, request, |
