diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-27 08:19:21 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-27 08:19:21 +0200 |
commit | f733ffb1c1ac2243c14c660bfac98443c1a7e67c (patch) | |
tree | 2e9eba08b9f0aca16c2414a54d244a340895548a /tools/python_test.py | |
parent | 1ab9ff06027a478ebedb7840db71cd308da65161 (diff) | |
download | gitlab-f733ffb1c1ac2243c14c660bfac98443c1a7e67c.tar.gz |
Fix python functional tests
Diffstat (limited to 'tools/python_test.py')
-rw-r--r-- | tools/python_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python_test.py b/tools/python_test.py index b56a97d..62d6421 100644 --- a/tools/python_test.py +++ b/tools/python_test.py @@ -85,7 +85,7 @@ assert(len(new_user.emails.list()) == 0) new_user.delete() foobar_user.delete() -assert(len(gl.users.list()) == 1) +assert(len(gl.users.list()) == 3) # current user key key = gl.user.keys.create({'title': 'testkey', 'key': SSH_KEY}) @@ -163,7 +163,7 @@ readme = admin_project.files.get(file_path='README', ref='master') readme.content = base64.b64encode("Improved README") time.sleep(2) readme.save(branch_name="master", commit_message="new commit") -readme.delete(commit_message="Removing README") +readme.delete(commit_message="Removing README", branch_name="master") admin_project.files.create({'file_path': 'README.rst', 'branch_name': 'master', |