From 8ebc6f7ca1db808070b57de9a3638ae5734f098f Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 26 May 2018 08:46:25 +0000 Subject: [PATCH] make it easier to cut&paste the filename git-svn-id: https://xpra.org/svn/Xpra/trunk@19476 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- .../unit/server/mixins/server_mixins_option_test_util.py | 2 +- src/unittests/unit/server_test_util.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/unittests/unit/server/mixins/server_mixins_option_test_util.py b/src/unittests/unit/server/mixins/server_mixins_option_test_util.py index 2fac2c0443..589f863287 100755 --- a/src/unittests/unit/server/mixins/server_mixins_option_test_util.py +++ b/src/unittests/unit/server/mixins/server_mixins_option_test_util.py @@ -131,7 +131,7 @@ def _test(self, subcommand="start", options={}): gui_client = self.run_xpra(xpra_args, **client_kwargs) r = pollwait(gui_client, 5) if r is not None: - log.warn("gui client stdout=%s", gui_client.stdout_file) + log.warn("gui client stdout: %s", gui_client.stdout_file) assert r is None, "gui client terminated early and returned %i for server with args=%s" % (r, args) if self.display: diff --git a/src/unittests/unit/server_test_util.py b/src/unittests/unit/server_test_util.py index f87ffe50c3..1fbd920d65 100755 --- a/src/unittests/unit/server_test_util.py +++ b/src/unittests/unit/server_test_util.py @@ -112,11 +112,11 @@ def run_command(cls, command, env=None, **kwargs): if "stdout" not in kwargs: stdout_file = cls._temp_file(prefix="xpra-stdout-") kwargs["stdout"] = stdout_file - log("stdout=%s for %s", stdout_file.name, strcommand) + log("stdout: %s for %s", stdout_file.name, strcommand) if "stderr" not in kwargs: stderr_file = cls._temp_file(prefix="xpra-stderr-") kwargs["stderr"] = stderr_file - log("stderr=%s for %s", stderr_file.name, strcommand) + log("stderr: %s for %s", stderr_file.name, strcommand) try: proc = subprocess.Popen(args=command, **kwargs) proc.stdout_file = stdout_file