summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-07-24 01:28:56 +0200
committerJeremy Allison <jra@samba.org>2015-07-31 01:55:32 +0200
commit317bd295d8ad4d00d1cba2c5bcb735bb3b71e3cd (patch)
tree57f8c5b5919a7725175562b98e5790819c3da4ee /python
parent223aad4f91eef2f1e9488bc4debf23bfd1b6a323 (diff)
downloadsamba-317bd295d8ad4d00d1cba2c5bcb735bb3b71e3cd.tar.gz
tests:docs: teach the test the types cmdlist, bytes, octal, and ustring
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/docs.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py
index 4261e789e1a..112f89ae80f 100644
--- a/python/samba/tests/docs.py
+++ b/python/samba/tests/docs.py
@@ -274,9 +274,17 @@ class SmbDotConfTests(TestCase):
def _set_arbitrary(self, program, exceptions=None):
arbitrary = {'string': 'string', 'boolean': 'yes', 'integer': '5',
'boolean-rev': 'yes',
+ 'cmdlist': 'a b c',
+ 'bytes': '10',
+ 'octal': '0123',
+ 'ustring': 'ustring',
'enum':'', 'boolean-auto': '', 'char': 'a', 'list': 'a, b, c'}
opposite_arbitrary = {'string': 'string2', 'boolean': 'no', 'integer': '6',
'boolean-rev': 'no',
+ 'cmdlist': 'd e f',
+ 'bytes': '11',
+ 'octal': '0567',
+ 'ustring': 'ustring2',
'enum':'', 'boolean-auto': '', 'char': 'b', 'list': 'd, e, f'}
topdir = os.path.abspath(samba.source_tree_topdir())
try: