Skip to content

Commit

Permalink
don't test remote logging if it is going to be disabled due to networ…
Browse files Browse the repository at this point in the history
…k debug loop detection

git-svn-id: https://xpra.org/svn/Xpra/trunk@19443 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 25, 2018
1 parent 5f0b61c commit b652849
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unittests/unit/client/mixins_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b652849

Please sign in to comment.