@@ -38,11 +38,13 @@ def setup_patches(self) -> None:
38
38
'CI_JOB_ID' : '1' ,
39
39
'JIRA_SERVER' : 'https://jira.com' ,
40
40
})
41
+ self .yaml_dump_patcher = patch ('dynamic_pipelines.report.yaml.dump' )
41
42
42
43
self .MockGitlab = self .gitlab_patcher .start ()
43
44
self .MockUploader = self .uploader_patcher .start ()
44
45
self .test_cases_failure_rate = self .failure_rate_patcher .start ()
45
46
self .env_patcher .start ()
47
+ self .yaml_dump_patcher .start ()
46
48
47
49
self .mock_project = MagicMock ()
48
50
self .mock_mr = MagicMock ()
@@ -54,6 +56,7 @@ def setup_patches(self) -> None:
54
56
self .addCleanup (self .uploader_patcher .stop )
55
57
self .addCleanup (self .failure_rate_patcher .stop )
56
58
self .addCleanup (self .env_patcher .stop )
59
+ self .addCleanup (self .yaml_dump_patcher .stop )
57
60
self .addCleanup (self .cleanup_files )
58
61
59
62
def cleanup_files (self ) -> None :
@@ -64,6 +67,7 @@ def cleanup_files(self) -> None:
64
67
self .build_report_generator .failed_apps_report_file ,
65
68
self .build_report_generator .built_apps_report_file ,
66
69
self .build_report_generator .skipped_apps_report_file ,
70
+ self .build_report_generator .apps_presigned_url_filepath ,
67
71
]
68
72
for file_path in files_to_delete :
69
73
if os .path .exists (file_path ):
0 commit comments