aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests/requests
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-12 23:08:55 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-12 23:08:55 +0200
commit748b320dd244341694c0d247d04c7f57ad4c052e (patch)
tree37b7ffad24d21f398dbb0592395b65599594c40b /pygithub3/tests/requests
parentNew install environment to prod and dev (diff)
parentSome fixes/typos and 'validate_body' related (diff)
downloadpython-github3-748b320dd244341694c0d247d04c7f57ad4c052e.tar.xz
python-github3-748b320dd244341694c0d247d04c7f57ad4c052e.zip
Merge 'services/pull_requests'
Diffstat (limited to 'pygithub3/tests/requests')
-rw-r--r--pygithub3/tests/requests/test_core.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygithub3/tests/requests/test_core.py b/pygithub3/tests/requests/test_core.py
index cd162b3..110f00e 100644
--- a/pygithub3/tests/requests/test_core.py
+++ b/pygithub3/tests/requests/test_core.py
@@ -5,8 +5,8 @@ from mock import Mock
from pygithub3.tests.utils.core import TestCase
from pygithub3.requests.base import Factory, Body, json, Request
-from pygithub3.exceptions import (UriInvalid, DoesNotExists, ValidationError,
- InvalidBodySchema)
+from pygithub3.exceptions import (UriInvalid, RequestDoesNotExist,
+ ValidationError, InvalidBodySchema)
from pygithub3.tests.utils.base import mock_json, DummyRequest
from pygithub3.tests.utils.requests import (
RequestWithArgs, RequestCleanedUri, RequestBodyInvalidSchema,
@@ -27,8 +27,8 @@ class TestFactory(TestCase):
self.assertRaises(UriInvalid, self.f, '.invalid')
def test_BUILDER_with_fake_action(self):
- self.assertRaises(DoesNotExists, self.f, 'users.fake')
- self.assertRaises(DoesNotExists, self.f, 'fake.users')
+ self.assertRaises(RequestDoesNotExist, self.f, 'users.fake')
+ self.assertRaises(RequestDoesNotExist, self.f, 'fake.users')
def test_BUILDER_builds_users(self):
""" Users.get as real test because it wouldn't be useful mock