1
0
Fork 0
forked from github/pelican

Fix some comments in wheel-related test

This commit is contained in:
Justin Mayer 2023-10-29 15:53:11 +01:00
commit cce1570135

View file

@ -15,12 +15,12 @@ def test_wheel_contents(pytestconfig):
wheel_file = pytestconfig.getoption("--check-wheel")
assert wheel_file.endswith(".whl")
files_list = ZipFile(wheel_file).namelist()
## Check is theme files are copiedto wheel
# Check if theme files are copied to wheel
simple_theme = Path("./pelican/themes/simple/templates")
for x in simple_theme.iterdir():
assert str(x) in files_list
## Check is tool templatesare copiedto wheel
# Check if tool templates are copied to wheel
tools = Path("./pelican/tools/templates")
for x in tools.iterdir():
assert str(x) in files_list