Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
john0isaac committed Dec 8, 2024
1 parent c393f4c commit b6240e9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/test_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
""" Test the Cookiecutter template.
A template project is created in a temporary directory, the application is
installed into a self-contained venv environment, and the application test
suite is run.
"""
Test the Cookiecutter template.
"""
from cookiecutter.generate import generate_context
from cookiecutter.main import cookiecutter
Expand Down Expand Up @@ -80,13 +76,13 @@ def install_render_engine_cli(python):


def test_site_generation(context, project, python, install_render_engine_cli):
generate_site = "render-engine build app:app"
generate_args = split(generate_site)
generate_site = "render_engine build app:app"
generate_args = split(f"{python} -m {generate_site}")
generate_process = run(generate_args, cwd=project)
assert generate_process.returncode == 0


# Make the script executable.

if __name__ == "__main__":
raise SystemExit(pytest.main([__file__]))
raise SystemExit(pytest.main([__file__]))

0 comments on commit b6240e9

Please sign in to comment.