Tor: fail instead of skip if Tor executables aren't available.

This commit is contained in:
Florian Sesser 2025-05-19 17:02:53 +00:00
parent 7ffc6641e3
commit adc73f4daa

View File

@ -316,7 +316,7 @@ def chutney(reactor, temp_dir: str) -> FilePath:
missing = [exe for exe in ["tor", "tor-gencert"] if not which(exe)]
if missing:
pytest.skip(f"Some command-line tools not found: {missing}")
pytest.fail(f"Some command-line tools not found: {missing}")
# The directory with all of the network definitions.
return FilePath(chutney.__file__).parent().child("data")