diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-01-02 11:20:31 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-01-02 11:21:15 +0100 |
commit | 05b3abf99b7af987a66c549fbd66e11710d5e3e6 (patch) | |
tree | 3f146b79df4cf7b299171eb94a8046ac90ab623d /tools/python_test.py | |
parent | 18415fe34f44892da504ec578ea35e74f0d78565 (diff) | |
download | gitlab-05b3abf99b7af987a66c549fbd66e11710d5e3e6.tar.gz |
Some objects need getRequires to be set to False
Diffstat (limited to 'tools/python_test.py')
-rw-r--r-- | tools/python_test.py | 8 |
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) |