summaryrefslogtreecommitdiff
path: root/tools/python_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python_test.py')
-rw-r--r--tools/python_test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py
index abfa508..55cb478 100644
--- a/tools/python_test.py
+++ b/tools/python_test.py
@@ -290,6 +290,14 @@ settings.save()
settings = gl.notificationsettings.get()
assert(settings.level == gitlab.NOTIFICATION_LEVEL_WATCH)
+# services
+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)
+
# snippets
snippets = gl.snippets.list()
assert(len(snippets) == 0)