Skip to content

Commit 5be48b9

Browse files
committed
Add test asserting cli scripts are included in wheel.
Captures missed expectation in #4475.
1 parent 1a52f11 commit 5be48b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setuptools/tests/test_setuptools.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,3 +307,10 @@ def test_its_own_wheel_does_not_contain_tests(setuptools_wheel):
307307

308308
for member in contents:
309309
assert '/tests/' not in member
310+
311+
312+
def test_wheel_includes_cli_scripts(setuptools_wheel):
313+
with ZipFile(setuptools_wheel) as zipfile:
314+
contents = [f.replace(os.sep, '/') for f in zipfile.namelist()]
315+
316+
assert any('cli-64.exe' in member for member in contents)

0 commit comments

Comments
 (0)