summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
-rw-r--r--gitlab/tests/test_gitlab.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index daa2694..34b60b9 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -517,9 +517,9 @@ class TestGitlab(unittest.TestCase):
return response(200, content, headers, None, 5, request)
with HTTMock(resp_get_issue):
- data = self.gl.issues.get(2)
- self.assertEqual(data.id, 2)
- self.assertEqual(data.name, 'other_name')
+ data = self.gl.issues.list()
+ self.assertEqual(data[1].id, 2)
+ self.assertEqual(data[1].name, 'other_name')
def test_users(self):
@urlmatch(scheme="http", netloc="localhost", path="/api/v4/users/1",