From f5850d950a77b1d985fdc3d1639e2627468d3548 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Mon, 1 Jan 2018 15:30:24 +0100 Subject: Add support for features flags Fixes #360 --- tools/python_test_v4.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/python_test_v4.py') 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' -- cgit v1.2.1