From 9b36c55422ac4957a8e73aaebdabbcbfbb106827 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Wed, 27 Mar 2019 03:10:29 +0100 Subject: [PATCH] Fix pytest warning --- src/Test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/conftest.py b/src/Test/conftest.py index 87b7cc0b..91b5d7c7 100644 --- a/src/Test/conftest.py +++ b/src/Test/conftest.py @@ -342,7 +342,7 @@ def tor_manager(): try: tor_manager = TorManager() tor_manager.start() - assert tor_manager.conn + assert tor_manager.conn is not None tor_manager.startOnions() except Exception as err: raise pytest.skip("Test requires Tor with ControlPort: %s, %s" % (config.tor_controller, err))