tests:docs: don't try to test parametric option defaults
authorBjörn Jacke <bjacke@samba.org>
Wed, 20 Dec 2017 20:23:24 +0000 (21:23 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Jan 2018 02:34:18 +0000 (03:34 +0100)
we don't get the values of the parametric options.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/tests/docs.py

index 521efe535beb4ecd1c4a56394c2e44640a2d825b..0c5b50e314cb8036c1fa9d2a2f0844239d16c14c 100644 (file)
@@ -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"