diff --git a/tests/test_ppt_vision_audit.py b/tests/test_ppt_vision_audit.py index 83d2552..ab5a919 100644 --- a/tests/test_ppt_vision_audit.py +++ b/tests/test_ppt_vision_audit.py @@ -78,7 +78,7 @@ def test_check_ppt_file_libreoffice_not_installed(monkeypatch): ppt_path = f.name try: - with patch('services.ppt_vision_service.subprocess.run', + with patch('subprocess.run', side_effect=FileNotFoundError('libreoffice')): svc = PPTVisionService() result = svc.check_ppt_file(ppt_path)