From: Michael Adam Date: Thu, 23 Jul 2015 23:28:56 +0000 (+0200) Subject: tests:docs: teach the test the types cmdlist, bytes, octal, and ustring X-Git-Url: http://git.samba.org/samba.git/?p=metze%2Ftest%2Fsamba.git;a=commitdiff_plain;h=317bd295d8ad4d00d1cba2c5bcb735bb3b71e3cd;hp=223aad4f91eef2f1e9488bc4debf23bfd1b6a323 tests:docs: teach the test the types cmdlist, bytes, octal, and ustring Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- 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: