From: Björn Jacke Date: Wed, 20 Dec 2017 20:23:24 +0000 (+0100) Subject: tests:docs: don't try to test parametric option defaults X-Git-Tag: talloc-2.1.11~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ece75ea9a6f1fd0b86593287a22993482c7b2cc5;p=thirdparty%2Fsamba.git tests:docs: don't try to test parametric option defaults we don't get the values of the parametric options. Signed-off-by: Bjoern Jacke Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py index 521efe535be..0c5b50e314c 100644 --- a/python/samba/tests/docs.py +++ b/python/samba/tests/docs.py @@ -186,6 +186,9 @@ class SmbDotConfTests(TestCase): if param in self.special_cases: continue + # bad, bad parametric options - we don't have their default values + if ':' in param: + continue section = None if context == "G": section = "global"