diff options
| author | 2012-05-12 23:08:55 +0200 | |
|---|---|---|
| committer | 2012-05-12 23:08:55 +0200 | |
| commit | 748b320dd244341694c0d247d04c7f57ad4c052e (patch) | |
| tree | 37b7ffad24d21f398dbb0592395b65599594c40b /pygithub3/tests/requests | |
| parent | New install environment to prod and dev (diff) | |
| parent | Some fixes/typos and 'validate_body' related (diff) | |
| download | python-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.py | 8 |
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 |
