Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Jun 1, 2024
1 parent a4ab25c commit fb78d88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

logger = logging.getLogger(__name__)


ENCODING = "utf-8"
PLATFORM = get_arch_name()
MANYLINUX1_IMAGE_ID = f"quay.io/pypa/manylinux1_{PLATFORM}:latest"
Expand Down Expand Up @@ -1000,8 +999,14 @@ def test_build_wheel_compat(
repaired_tag = f"{expect_tag}.{target_tag}"
repaired_wheel = f"testsimple-0.0.1-{PYTHON_ABI}-{repaired_tag}.whl"
assert repaired_wheel in filenames

assert_show_output(manylinux_ctr, repaired_wheel, expect, True)

with zipfile.ZipFile(os.path.join(io_folder, repaired_wheel)) as z:
for file in z.namelist():
if file.startswith("testsimple.libs"):
raise Exception("should not have empty .libs folder")

docker_exec(docker_python, f"pip install /io/{repaired_wheel}")
docker_exec(
docker_python,
Expand Down

0 comments on commit fb78d88

Please sign in to comment.