diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-07-15 17:05:44 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-07-15 17:05:44 +0200 |
commit | c15ba3b61065973da983ff792a34268a3ba75e12 (patch) | |
tree | a4de60e66c14a4f1179c92be821d2602a766b6b1 /gitlab/tests/test_mixins.py | |
parent | 374a6c4544931a564221cccabb6abbda9e6bc558 (diff) | |
download | gitlab-c15ba3b61065973da983ff792a34268a3ba75e12.tar.gz |
Restore correct exceptions
Match the exceptions raised in v3 for v4.
Also update the doc strings with correct information.
Diffstat (limited to 'gitlab/tests/test_mixins.py')
-rw-r--r-- | gitlab/tests/test_mixins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/tests/test_mixins.py b/gitlab/tests/test_mixins.py index dd456eb..de853d7 100644 --- a/gitlab/tests/test_mixins.py +++ b/gitlab/tests/test_mixins.py @@ -230,7 +230,7 @@ class TestMixinMethods(unittest.TestCase): self.assertEqual(obj.foo, 'bar') self.assertEqual(obj.id, 42) - self.assertRaises(GitlabHttpError, mgr.get, 44) + self.assertRaises(GitlabGetError, mgr.get, 44) def test_create_mixin_get_attrs(self): class M1(CreateMixin, FakeManager): |