summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-28 08:23:00 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-28 08:23:00 +0200
commitf082568b9a09f117cd88dd18e7582a620540ff95 (patch)
tree80cce90eed48d9929733c04581ee11334e066d0b /tools/python_test_v4.py
parent9c19e06dbb792308d2fcd4fff1239043981b5f61 (diff)
downloadgitlab-f082568b9a09f117cd88dd18e7582a620540ff95.tar.gz
Add feature flags deletion support
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 37f657a..1527c2e 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -665,6 +665,8 @@ assert(ns.kind == 'user')
feat = gl.features.set('foo', 30)
assert(feat.name == 'foo')
assert(len(gl.features.list()) == 1)
+feat.delete()
+assert(len(gl.features.list()) == 0)
# broadcast messages
msg = gl.broadcastmessages.create({'message': 'this is the message'})