Skip to content

Commit b6240e9

Browse files
committed
fix ci
1 parent c393f4c commit b6240e9

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

tests/test_template.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
""" Test the Cookiecutter template.
2-
3-
A template project is created in a temporary directory, the application is
4-
installed into a self-contained venv environment, and the application test
5-
suite is run.
6-
1+
"""
2+
Test the Cookiecutter template.
73
"""
84
from cookiecutter.generate import generate_context
95
from cookiecutter.main import cookiecutter
@@ -80,13 +76,13 @@ def install_render_engine_cli(python):
8076

8177

8278
def test_site_generation(context, project, python, install_render_engine_cli):
83-
generate_site = "render-engine build app:app"
84-
generate_args = split(generate_site)
79+
generate_site = "render_engine build app:app"
80+
generate_args = split(f"{python} -m {generate_site}")
8581
generate_process = run(generate_args, cwd=project)
8682
assert generate_process.returncode == 0
8783

8884

8985
# Make the script executable.
9086

9187
if __name__ == "__main__":
92-
raise SystemExit(pytest.main([__file__]))
88+
raise SystemExit(pytest.main([__file__]))

0 commit comments

Comments
 (0)