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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/python_test.py b/tools/python_test.py
index 27ec4bd..0c065b8 100644
--- a/tools/python_test.py
+++ b/tools/python_test.py
@@ -282,3 +282,10 @@ msg = gl.broadcastmessages.get(1)
assert(msg.color == '#444444')
msg.delete()
assert(len(gl.broadcastmessages.list()) == 0)
+
+# notification settings
+settings = gl.notificationsettings.get()
+settings.level = gitlab.NOTIFICATION_LEVEL_WATCH
+settings.save()
+settings = gl.notificationsettings.get()
+assert(settings.level == gitlab.NOTIFICATION_LEVEL_WATCH)