summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-12-03 15:44:22 +0100
committerJeremy Allison <jra@samba.org>2018-12-06 01:43:13 +0100
commit69521c17bb62c6c35498083470bf00277a3cec89 (patch)
tree298891381f097880f63ddb5a5be16a4280704d33 /python
parent1327e2f40f4b7b05f8e636922c2b1cf17edc2903 (diff)
downloadsamba-69521c17bb62c6c35498083470bf00277a3cec89.tar.gz
tests:docs: add a exceptions set
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/docs.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py
index f25df436831..b64f9726367 100644
--- a/python/samba/tests/docs.py
+++ b/python/samba/tests/docs.py
@@ -244,7 +244,12 @@ class SmbDotConfTests(TestCase):
for tuples in self.defaults:
param, default, context, param_type = tuples
- if param in ['printing', 'rpc server dynamic port range']:
+ exceptions = set([
+ 'printing',
+ 'rpc server dynamic port range',
+ ])
+
+ if param in exceptions:
continue
section = None