tests:docs: load the full data from the existing param_table.
authorMichael Adam <obnox@samba.org>
Thu, 23 Jul 2015 21:15:07 +0000 (23:15 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:32 +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 cf12b54dd655208a190e1dfed12b24b28c3d274d..fbe783b7fab3b904f6f5975eb89e502f4d10a6c4 100644 (file)
@@ -222,6 +222,12 @@ class SmbDotConfTests(TestCase):
         except:
             self.fail("Unable to load implemented parameters")
 
+        try:
+            self.table_static = set(get_param_table_full(self.topdir,
+                                   "lib/param/param_table_static.c"))
+        except:
+            self.fail("Unable to load static parameter table")
+
         try:
             self.defaults = set(get_documented_tuples(self.topdir))
         except: