diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-08-21 19:05:20 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-08-21 19:07:21 +0200 |
| commit | fef8c7f7bc9f4a853012a5294f0731cc7f266625 (patch) | |
| tree | c83317455a0f96e597f21c77712d5966443a4607 /tools/functional_tests.sh | |
| parent | 6cc8126381d0d241aeaca69d9932f0b425538f4f (diff) | |
| download | gitlab-fef8c7f7bc9f4a853012a5294f0731cc7f266625.tar.gz | |
Provide a Gitlab.from_config method
It provides the Gitlab object creation from the ~/.python-gitlab.cfg,
just like the CLI does.
Diffstat (limited to 'tools/functional_tests.sh')
| -rwxr-xr-x | tools/functional_tests.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/functional_tests.sh b/tools/functional_tests.sh index dd31c90..acce6a9 100755 --- a/tools/functional_tests.sh +++ b/tools/functional_tests.sh @@ -84,10 +84,6 @@ echo -n "Testing project update... " $GITLAB project update --id $PROJECT_ID --description "My New Description" $OK -echo -n "Testing project deletion... " -$GITLAB project delete --id $PROJECT_ID -$OK - echo -n "Testing user creation... " USER_ID=$($GITLAB user create --email fake@email.com --username user1 --name "User One" --password fakepassword | grep ^id: | cut -d' ' -f2) $OK @@ -103,3 +99,7 @@ $OK echo -n "Testing adding member to a project... " $GITLAB project-member create --project-id $PROJECT_ID --user-id $USER_ID --access-level 40 >/dev/null 2>&1 $OK + +echo -n "Testing project deletion... " +$GITLAB project delete --id $PROJECT_ID +$OK |
