summaryrefslogtreecommitdiff
path: root/tools/python_test.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-24 07:58:42 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-24 07:58:42 +0200
commit766efe6180041f9730d2966549637754bb85d868 (patch)
treee31ca6a5fc0c1179c34a8bc78a1e93fbf015bf07 /tools/python_test.py
parent7ac1e4c1fe4ccff8c8ee4a9ae212a227d5499bce (diff)
parentdcbb5015626190528a160b4bf93ba18e72c48fff (diff)
downloadgitlab-766efe6180041f9730d2966549637754bb85d868.tar.gz
Merge branch 'v4_support'
Diffstat (limited to 'tools/python_test.py')
-rw-r--r--tools/python_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python_test.py b/tools/python_test.py
index 41df221..b56a97d 100644
--- a/tools/python_test.py
+++ b/tools/python_test.py
@@ -29,7 +29,7 @@ token_from_auth = gl.private_token
gl = gitlab.Gitlab.from_config(config_files=['/tmp/python-gitlab.cfg'])
assert(token_from_auth == gl.private_token)
gl.auth()
-assert(isinstance(gl.user, gitlab.objects.CurrentUser))
+assert(isinstance(gl.user, gitlab.v3.objects.CurrentUser))
# settings
settings = gl.settings.get()