From b65284955ccf33ab66d3445581a96fdde5d8d627 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 25 May 2018 14:32:25 +0000 Subject: [PATCH] don't test remote logging if it is going to be disabled due to network debug loop detection git-svn-id: https://xpra.org/svn/Xpra/trunk@19443 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/unittests/unit/client/mixins_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/unittests/unit/client/mixins_test.py b/src/unittests/unit/client/mixins_test.py index dcdcfd51aa..234dcdf770 100755 --- a/src/unittests/unit/client/mixins_test.py +++ b/src/unittests/unit/client/mixins_test.py @@ -48,6 +48,12 @@ def test_mmap(self): x.parse_server_capabilities() def test_remotelogging(self): + from xpra.log import is_debug_enabled + for x in ("network", "crypto", "udp"): + if is_debug_enabled(x): + #remote logging will be disabled, + #so we have to skip this test + return x = RemoteLogging() opts = AdHocStruct() opts.remote_logging = "yes"