()
| 345 | |
| 346 | @pytest.fixture(scope="session") |
| 347 | def tor_manager(): |
| 348 | try: |
| 349 | tor_manager = TorManager(fileserver_port=1544) |
| 350 | tor_manager.start() |
| 351 | assert tor_manager.conn is not None |
| 352 | tor_manager.startOnions() |
| 353 | except Exception as err: |
| 354 | raise pytest.skip("Test requires Tor with ControlPort: %s, %s" % (config.tor_controller, err)) |
| 355 | return tor_manager |
| 356 | |
| 357 | |
| 358 | @pytest.fixture() |
nothing calls this directly
no test coverage detected