tests: teach the docs test about boolean-rev
authorMichael Adam <obnox@samba.org>
Wed, 22 Jul 2015 08:31:46 +0000 (10:31 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:29 +0000 (01:55 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/docs.py

index 1b9b94a5b861eab2462e3dac17e6187279ba6b37..4261e789e1acdb96ceadbb7c168b00a7c480b9cc 100644 (file)
@@ -273,8 +273,10 @@ class SmbDotConfTests(TestCase):
 
     def _set_arbitrary(self, program, exceptions=None):
         arbitrary = {'string': 'string', 'boolean': 'yes', 'integer': '5',
+                     'boolean-rev': 'yes',
                      'enum':'', 'boolean-auto': '', 'char': 'a', 'list': 'a, b, c'}
         opposite_arbitrary = {'string': 'string2', 'boolean': 'no', 'integer': '6',
+                              'boolean-rev': 'no',
                               'enum':'', 'boolean-auto': '', 'char': 'b', 'list': 'd, e, f'}
         topdir = os.path.abspath(samba.source_tree_topdir())
         try: