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))