diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-01-01 15:30:24 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-01-01 15:30:24 +0100 |
commit | f5850d950a77b1d985fdc3d1639e2627468d3548 (patch) | |
tree | 908316276b55d8897ff0dcb6c30315bc6efa731d /tools/python_test_v4.py | |
parent | c281d95c2f978d8d2eb1d77352babf5217d32062 (diff) | |
download | gitlab-f5850d950a77b1d985fdc3d1639e2627468d3548.tar.gz |
Add support for features flags
Fixes #360
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r-- | tools/python_test_v4.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py index 1b86913..9a3d5e7 100644 --- a/tools/python_test_v4.py +++ b/tools/python_test_v4.py @@ -551,6 +551,11 @@ assert(len(ns) != 0) ns = gl.namespaces.list(search='root', all=True)[0] assert(ns.kind == 'user') +# features +feat = gl.features.set('foo', 30) +assert(feat.name == 'foo') +assert(len(gl.features.list()) == 1) + # broadcast messages msg = gl.broadcastmessages.create({'message': 'this is the message'}) msg.color = '#444444' |