@@ -38,11 +38,13 @@ def setup_patches(self) -> None:
3838 'CI_JOB_ID' : '1' ,
3939 'JIRA_SERVER' : 'https://jira.com' ,
4040 })
41+ self .yaml_dump_patcher = patch ('dynamic_pipelines.report.yaml.dump' )
4142
4243 self .MockGitlab = self .gitlab_patcher .start ()
4344 self .MockUploader = self .uploader_patcher .start ()
4445 self .test_cases_failure_rate = self .failure_rate_patcher .start ()
4546 self .env_patcher .start ()
47+ self .yaml_dump_patcher .start ()
4648
4749 self .mock_project = MagicMock ()
4850 self .mock_mr = MagicMock ()
@@ -54,6 +56,7 @@ def setup_patches(self) -> None:
5456 self .addCleanup (self .uploader_patcher .stop )
5557 self .addCleanup (self .failure_rate_patcher .stop )
5658 self .addCleanup (self .env_patcher .stop )
59+ self .addCleanup (self .yaml_dump_patcher .stop )
5760 self .addCleanup (self .cleanup_files )
5861
5962 def cleanup_files (self ) -> None :
@@ -64,6 +67,7 @@ def cleanup_files(self) -> None:
6467 self .build_report_generator .failed_apps_report_file ,
6568 self .build_report_generator .built_apps_report_file ,
6669 self .build_report_generator .skipped_apps_report_file ,
70+ self .build_report_generator .apps_presigned_url_filepath ,
6771 ]
6872 for file_path in files_to_delete :
6973 if os .path .exists (file_path ):
0 commit comments