[Test] Enabled dep_pytool test now that we can run it on CI/CD

This commit is contained in:
Salvador E. Tropea 2022-07-08 07:52:38 -03:00
parent 98ac2f2335
commit 293facda76
1 changed files with 7 additions and 7 deletions

View File

@ -13,6 +13,7 @@ from . import context
from kibot.mcpyrate import activate # noqa: F401
import kibot.dep_downloader as downloader
import kibot.out_compress as compress
import kibot.out_kibom as kibom
import kibot.log as log
cov = coverage.Coverage()
@ -54,13 +55,12 @@ def test_dep_rar(test_dir, caplog, monkeypatch):
try_dependency(ctx, caplog, monkeypatch, compress.__doc__, 'rar', 'rar', bin_dir)
# Needs adjusts, pip behaves differently when running as root ...
# def test_dep_pytool(test_dir, caplog, monkeypatch):
# """ Check the pytool_downloader """
# # Create a context to get an output directory
# ctx = context.TestContext(test_dir, 'bom', 'bom')
# log.debug_level = 10
# try_dependency(ctx, caplog, monkeypatch, kibom.__doc__, 'kibom', 'pytool', bin_dir_py)
def test_dep_pytool(test_dir, caplog, monkeypatch):
""" Check the pytool_downloader """
# Create a context to get an output directory
ctx = context.TestContext(test_dir, 'bom', 'bom')
log.debug_level = 10
try_dependency(ctx, caplog, monkeypatch, kibom.__doc__, 'kibom', 'pytool', bin_dir_py)
def test_dep_rsvg(test_dir, caplog, monkeypatch):