Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
test_pbr.py21 linesDownload Raw Back to integration
1import subprocess2 3import pytest4 5 6@pytest.mark.uses_network7def test_pbr_integration(pbr_package, venv):8    """Ensure pbr packages install."""9    cmd = [10        'python',11        '-m',12        'pip',13        '-v',14        'install',15        '--no-build-isolation',16        pbr_package,17    ]18    venv.run(cmd, stderr=subprocess.STDOUT)19    out = venv.run(["python", "-c", "import mypkg.hello"])20    assert "Hello world!" in out21 
codekingpro/portable-devtools · Team Ai