Skip to content

Commit

Permalink
🔥 remove test of make file (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseRZapata committed Jul 10, 2024
1 parent 4478603 commit 8d6e592
Showing 1 changed file with 0 additions and 16 deletions.
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

0 comments on commit 8d6e592

Please sign in to comment.