Fix pytest warning
This commit is contained in:
parent
b6286372fb
commit
9b36c55422
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue