diff options
Diffstat (limited to 'tools/python_test.py')
-rw-r--r-- | tools/python_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py index 2dc7a10..820dca1 100644 --- a/tools/python_test.py +++ b/tools/python_test.py @@ -152,3 +152,9 @@ tag1.set_release_description('Description 1') tag1.set_release_description('Description 2') assert(tag1.release.description == 'Description 2') tag1.delete() + +# triggers +tr1 = admin_project.triggers.create({}) +assert(len(admin_project.triggers.list()) == 1) +tr1 = admin_project.triggers.get(tr1.token) +tr1.delete() |