From 8d6e59273c1b95d993499c178743ec60d0dee8cf Mon Sep 17 00:00:00 2001 From: "Jose R. Zapata" Date: Tue, 9 Jul 2024 22:26:37 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20test=20of=20make=20file?= =?UTF-8?q?=20(#85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_create_template.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/test_create_template.py b/tests/test_create_template.py index 20ff4bb..cdb3394 100644 --- a/tests/test_create_template.py +++ b/tests/test_create_template.py @@ -1,5 +1,4 @@ import re -import subprocess # nosec def test_run_cookiecutter_result(cookies): # type: ignore @@ -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