mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
samba-tool visualize tests: reduce noise on stdout
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e646895d2d
commit
07302fe037
@ -24,7 +24,7 @@ We don't test samba-tool visualize reps here because repsTo and
|
||||
repsFrom are not replicated, and there are actual remote servers to
|
||||
query.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
import samba
|
||||
import os
|
||||
import re
|
||||
@ -289,7 +289,6 @@ class SambaToolVisualizeLdif(SambaToolCmdTest):
|
||||
self.tempdir,
|
||||
self.lp, tag='disconnected')
|
||||
dburl = 'tdb://' + dbfile
|
||||
print(dbfile)
|
||||
result, output, err = self.runsubcmd("visualize", "ntdsconn",
|
||||
'-H', dburl,
|
||||
'--color=no', '-S')
|
||||
@ -319,8 +318,6 @@ class SambaToolVisualizeLdif(SambaToolCmdTest):
|
||||
'-o', '-')
|
||||
self.assertCmdSuccess(result, dot, err)
|
||||
self.remove_files(dbfile)
|
||||
print(dot)
|
||||
|
||||
self.assertStringsEqual(EXPECTED_DOT_NTDSCONN_DISCONNECTED, dot,
|
||||
strip=True)
|
||||
|
||||
@ -343,7 +340,6 @@ class SambaToolVisualizeLdif(SambaToolCmdTest):
|
||||
self.assertStringsEqual(EXPECTED_DOT_NTDSCONN_DISCONNECTED, dot)
|
||||
|
||||
self.remove_files(dbfile, dot_file)
|
||||
print(dot)
|
||||
|
||||
EXPECTED_DOT_MULTISITE_NO_KEY = r"""/* generated by samba */
|
||||
digraph A_samba_tool_production {
|
||||
|
Loading…
Reference in New Issue
Block a user