summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/python_test_v4.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 08ee0aa..cba4833 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -316,13 +316,14 @@ settings = gl.notificationsettings.get()
assert(settings.level == gitlab.NOTIFICATION_LEVEL_WATCH)
# services
-# NOT IMPLEMENTED YET
-#service = admin_project.services.get(service_name='asana')
-#service.active = True
-#service.api_key = 'whatever'
-#service.save()
-#service = admin_project.services.get(service_name='asana')
-#assert(service.active == True)
+service = admin_project.services.get('asana')
+service.api_key = 'whatever'
+service.save()
+service = admin_project.services.get('asana')
+assert(service.active == True)
+service.delete()
+service = admin_project.services.get('asana')
+assert(service.active == False)
# snippets
snippets = gl.snippets.list(all=True)