PHP 8.2.30
Preview: test_pbr.py Size: 432 B
/opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools/tests/integration/test_pbr.py

import subprocess

import pytest


@pytest.mark.uses_network
def test_pbr_integration(pbr_package, venv):
    """Ensure pbr packages install."""
    cmd = [
        'python',
        '-m',
        'pip',
        '-v',
        'install',
        '--no-build-isolation',
        pbr_package,
    ]
    venv.run(cmd, stderr=subprocess.STDOUT)
    out = venv.run(["python", "-c", "import mypkg.hello"])
    assert "Hello world!" in out

Directory Contents

Dirs: 1 × Files: 4

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-06 08:01:08
Edit Download
2.46 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
432 B lrw-r--r-- 2026-01-20 13:01:47
Edit Download
8.06 KB lrw-r--r-- 2026-01-20 13:01:47
Edit Download
0 B lrw-r--r-- 2026-01-20 13:01:47
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).