@@ -127,7 +127,6 @@ def test_new_entry_command_success(runner, test_site_module, monkeypatch):
127127 """Tests new_entry command with valid parameters"""
128128 tmp_path , module_site = test_site_module
129129 monkeypatch .chdir (tmp_path )
130- monkeypatch .setattr ("render_engine_cli.utils.getenv" , lambda * _ : {})
131130
132131 # Create content directory
133132 content_dir = tmp_path / "content"
@@ -172,7 +171,6 @@ def test_new_entry_command_with_args(runner, test_site_module, monkeypatch):
172171 """Tests new_entry command with --args parameter"""
173172 tmp_path , module_site = test_site_module
174173 monkeypatch .chdir (tmp_path )
175- monkeypatch .setattr ("render_engine_cli.utils.getenv" , lambda * _ : {})
176174
177175 content_dir = tmp_path / "content"
178176 content_dir .mkdir ()
@@ -268,7 +266,6 @@ def mock_create_collection_entry(**kwargs):
268266
269267 tmp_path , module_site = test_site_module
270268 monkeypatch .chdir (tmp_path )
271- monkeypatch .setattr ("render_engine_cli.utils.getenv" , lambda * _ : {})
272269 monkeypatch .setattr ("render_engine_cli.cli.create_collection_entry" , mock_create_collection_entry )
273270 content_dir = tmp_path / "content"
274271 content_dir .mkdir ()
0 commit comments