Skip to content
Snippets Groups Projects
Verified Commit cbf8a2c9 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

Do not warn about missing tlsh during tests

See the comments in
#29 for
more background, as well as the thread at
https://lists.reproducible-builds.org/pipermail/diffoscope/2020-June/002642.html



Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent c79a54f8
No related branches found
No related tags found
No related merge requests found
Pipeline #148357 failed
......@@ -658,7 +658,7 @@ def run_diffoscope(parsed_args):
ProfileManager().setup(parsed_args)
PresenterManager().configure(parsed_args)
if not tlsh:
if not tlsh and "PYTEST_CURRENT_TEST" not in os.environ:
logger.warning(
'Fuzzy-matching is currently disabled as the "tlsh" module is unavailable.'
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment