diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-01-21 11:42:12 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-01-21 11:42:12 +0100 |
commit | 96a1a784bd0cc0d0ce9dc3a83ea3a46380adc905 (patch) | |
tree | fd800cb6087d79069a7688ce4c41d51ec27ead3f /tools/python_test_v4.py | |
parent | 08f19b3d79dd50bab5afe58fe1b3b3825ddf9c25 (diff) | |
download | gitlab-96a1a784bd0cc0d0ce9dc3a83ea3a46380adc905.tar.gz |
Add support for getting list of user projects
Fixes #403
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r-- | tools/python_test_v4.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py index 69596b8..e5d390a 100644 --- a/tools/python_test_v4.py +++ b/tools/python_test_v4.py @@ -92,6 +92,9 @@ assert(new_user.email == user.email) new_user.block() new_user.unblock() +# user projects list +assert(len(new_user.projects.list()) == 0) + foobar_user = gl.users.create( {'email': 'foobar@example.com', 'username': 'foobar', 'name': 'Foo Bar', 'password': 'foobar_password'}) |