From 317bd295d8ad4d00d1cba2c5bcb735bb3b71e3cd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 24 Jul 2015 01:28:56 +0200 Subject: tests:docs: teach the test the types cmdlist, bytes, octal, and ustring Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- python/samba/tests/docs.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python/samba/tests/docs.py') 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: -- cgit v1.2.3