mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
tests:docs: remove testing the diff between the static and generated table
This reverts commit 380e0769ad3563dc762fb0c9ebe57d8131846519. This is in preparation of the removal of the committed param_table_static.c Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
33dfaf7ef9
commit
c102ac2896
@ -265,25 +265,6 @@ class SmbDotConfTests(TestCase):
|
||||
self.fail(self._format_message(undocumented,
|
||||
"Parameters that are in the implementation but undocumented:"))
|
||||
|
||||
def test_generated(self):
|
||||
diff1 = self.table_static.difference(self.table_gen)
|
||||
diff1_txt = ""
|
||||
if len(diff1) > 0:
|
||||
diff1_txt = self._format_message(diff1,
|
||||
"Parameter diff viewed from static (%d entries):"
|
||||
% (len(diff1)))
|
||||
|
||||
diff2 = self.table_gen.difference(self.table_static)
|
||||
diff2_txt = ""
|
||||
if len(diff2) > 0:
|
||||
diff2_txt = self._format_message(diff2,
|
||||
"Parameter diff viewed from generated (%d entries):" %
|
||||
(len(diff2)))
|
||||
|
||||
if len(diff1) > 0 or len(diff2) > 0:
|
||||
self.fail("Parameter tables are different.\n%s\n%s" %
|
||||
(diff1_txt, diff2_txt))
|
||||
|
||||
def test_default_s3(self):
|
||||
self._test_default(['bin/testparm'])
|
||||
self._set_defaults(['bin/testparm'])
|
||||
|
Reference in New Issue
Block a user