Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔥 remove test of make file #85

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions tests/test_create_template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import re
import subprocess # nosec


def test_run_cookiecutter_result(cookies): # type: ignore
Expand Down Expand Up @@ -33,18 +32,3 @@ def test_cookiecutter_generated_files(cookies): # type: ignore
re_bad.search(str(file_path)) is None
for file_path in result.project_path.glob("*")
)


def test_cookiecutter_make_help(cookies): # type: ignore
"""ensure the make help command runs without error"""
result = cookies.bake()

make_proc = subprocess.run(
["/usr/bin/make"],
shell=False, # noqa: S603
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
cwd=result.project_path,
check=True,
)
assert make_proc.returncode == 0