diff --git a/python/samba/tests/samba_tool/visualize.py b/python/samba/tests/samba_tool/visualize.py index a90c77364b7..c015abf3b2d 100644 --- a/python/samba/tests/samba_tool/visualize.py +++ b/python/samba/tests/samba_tool/visualize.py @@ -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 {