summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-29 06:57:36 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-29 06:57:36 +0200
commit9be50be98468e78400861718202f48eddfa83839 (patch)
treec9ad4f5bc8e1e619466153693b222a35bd7627a8 /tools/python_test_v4.py
parentfbd2010e09f0412ea52cd16bb26cf988836bc03f (diff)
downloadgitlab-9be50be98468e78400861718202f48eddfa83839.tar.gz
Implement the markdown rendering API
Testing will be enable when GitLab 11.0 is available.
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 24b729d..b9c4e63 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -60,6 +60,10 @@ gl = gitlab.Gitlab.from_config(config_files=['/tmp/python-gitlab.cfg'])
gl.auth()
assert(isinstance(gl.user, gitlab.v4.objects.CurrentUser))
+# markdown (need to wait for gitlab 11 to enable the test)
+# html = gl.markdown('foo')
+# assert('foo' in html)
+
# sidekiq
out = gl.sidekiq.queue_metrics()
assert(isinstance(out, dict))