Skip to content

Commit

Permalink
Improve pure wheel test to assert the wheel is indeed pure
Browse files Browse the repository at this point in the history
  • Loading branch information
ehashman committed Oct 27, 2018
1 parent 274bc45 commit 12cf71f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/test_manylinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ def test_build_repair_pure_wheel(docker_container):
assert filenames == [ORIGINAL_SIX_WHEEL]

output = docker_exec(manylinux_id, 'auditwheel show /io/' + filenames[0])
assert (
ORIGINAL_SIX_WHEEL +
' is consistent with the following platform tag: "manylinux1_x86_64"'
) in output.replace('\n', ' ')
assert ''.join([
ORIGINAL_SIX_WHEEL,
' is consistent with the following platform tag: ',
'"manylinux1_x86_64". ',
'The wheel references no external versioned symbols from system- ',
'provided shared libraries. ',
'The wheel requires no external shared libraries! :)',
]) in output.replace('\n', ' ')

0 comments on commit 12cf71f

Please sign in to comment.