diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-24 17:13:13 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-01-24 17:13:13 +0100 |
| commit | 0814d8664d58fadb136af3c4031ea6e7359eb8f5 (patch) | |
| tree | 1044672bf9e944b3cce37061b21510ac11e0f73c /tools/python_test.py | |
| parent | 339d3295a53c5ba82780879d9881b6279d9001e9 (diff) | |
| download | gitlab-0814d8664d58fadb136af3c4031ea6e7359eb8f5.tar.gz | |
API tests for tags
Diffstat (limited to 'tools/python_test.py')
| -rw-r--r-- | tools/python_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py index 916f84b..d4786d5 100644 --- a/tools/python_test.py +++ b/tools/python_test.py @@ -144,3 +144,8 @@ assert(len(admin_project.issues.list(state='closed')) == 1) assert(len(admin_project.issues.list(state='opened')) == 2) assert(len(admin_project.issues.list(milestone='milestone1')) == 1) assert(m1.issues()[0].title == 'my issue 1') + +# tags +tag1 = admin_project.tags.create({'tag_name': 'v1.0', 'ref': 'master'}) +assert(len(admin_project.tags.list()) == 1) +tag1.delete() |
