mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Merge pull request #1279 from exarkun/4000.tor-integration-tests-skip
Skip the tor integration tests if any needed tor tools are missing Fixes: ticket:4000
This commit is contained in:
commit
efa91df901
@ -451,10 +451,9 @@ def chutney(reactor, temp_dir):
|
||||
chutney_dir = join(temp_dir, 'chutney')
|
||||
mkdir(chutney_dir)
|
||||
|
||||
# TODO:
|
||||
|
||||
# check for 'tor' binary explicitly and emit a "skip" if we can't
|
||||
# find it
|
||||
missing = [exe for exe in ["tor", "tor-gencert"] if not which(exe)]
|
||||
if missing:
|
||||
pytest.skip(f"Some command-line tools not found: {missing}")
|
||||
|
||||
# XXX yuck! should add a setup.py to chutney so we can at least
|
||||
# "pip install <path to tarball>" and/or depend on chutney in "pip
|
||||
|
0
newsfragments/4000.minor
Normal file
0
newsfragments/4000.minor
Normal file
Loading…
x
Reference in New Issue
Block a user