[Test] Added some extra debug to test_dep_downloader

This commit is contained in:
Salvador E. Tropea 2023-01-18 16:54:57 -03:00
parent b5835bef4d
commit 39ac2e1013
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ def try_dependency(ctx, caplog, monkeypatch, docstring, name_dep, downloader_nam
cov.save()
# We should get the following name:
logging.debug('Result: {} Version: {}'.format(res, version))
with open(ctx.get_out_path('caplog.txt'), 'wt') as f:
f.write(caplog.text)
assert res == os.path.join(home, b_dir, dep.command)
# We executed the file