From 9be50be98468e78400861718202f48eddfa83839 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Tue, 29 May 2018 06:57:36 +0200 Subject: Implement the markdown rendering API Testing will be enable when GitLab 11.0 is available. --- tools/python_test_v4.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') 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)) -- cgit v1.2.1