summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlabobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/tests/test_gitlabobject.py')
-rw-r--r--gitlab/tests/test_gitlabobject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/tests/test_gitlabobject.py b/gitlab/tests/test_gitlabobject.py
index d191c0f..3bffb82 100644
--- a/gitlab/tests/test_gitlabobject.py
+++ b/gitlab/tests/test_gitlabobject.py
@@ -483,9 +483,9 @@ class TestSnippet(unittest.TestCase):
def test_content(self):
with HTTMock(self.resp_content):
data = b'content'
- content = self.obj.content()
+ content = self.obj.raw()
self.assertEqual(content, data)
def test_blob_fail(self):
with HTTMock(self.resp_content_fail):
- self.assertRaises(GitlabGetError, self.obj.content)
+ self.assertRaises(GitlabGetError, self.obj.raw)