diff --git a/backend/engine/tests/test_plugin_cicd_tools.py b/backend/engine/tests/test_plugin_cicd_tools.py index b2cc26b2..2ee46e55 100644 --- a/backend/engine/tests/test_plugin_cicd_tools.py +++ b/backend/engine/tests/test_plugin_cicd_tools.py @@ -91,7 +91,7 @@ def test_main_with_aws_codebuild_detector(self, mock_rglob): ), ) @patch("pathlib.Path.rglob") - def test_main_with_electron_forge_detector(self, mock_rglob): + def test_main_with_electron_forge_detector(self, mock_rglob, _mock_open): expected_package_json = "package.json" expected_file = "forge.config.js" @@ -121,7 +121,7 @@ def test_main_with_electron_forge_detector(self, mock_rglob): read_data=json.dumps({"this_doesnt_have_config": True}), ) @patch("pathlib.Path.rglob") - def test_main_with_electron_forge_detector_package_json_fail(self, mock_rglob): + def test_main_with_electron_forge_detector_package_json_fail(self, mock_rglob, _mock_open): expected_package_json = "package.json" expected_file = "forge.config.js"