55 CreateMixin ,
66 CRUDMixin ,
77 DeleteMixin ,
8+ GetWithoutIdMixin ,
89 ListMixin ,
910 ObjectDeleteMixin ,
1011 RefreshMixin ,
2627 "ProjectPipelineScheduleVariableManager" ,
2728 "ProjectPipelineSchedule" ,
2829 "ProjectPipelineScheduleManager" ,
30+ "ProjectPipelineTestReport" ,
31+ "ProjectPipelineTestReportManager" ,
2932]
3033
3134
@@ -34,6 +37,7 @@ class ProjectPipeline(RefreshMixin, ObjectDeleteMixin, RESTObject):
3437 ("jobs" , "ProjectPipelineJobManager" ),
3538 ("bridges" , "ProjectPipelineBridgeManager" ),
3639 ("variables" , "ProjectPipelineVariableManager" ),
40+ ("test_report" , "ProjectPipelineTestReportManager" ),
3741 )
3842
3943 @cli .register_custom_action ("ProjectPipeline" )
@@ -201,3 +205,13 @@ class ProjectPipelineScheduleManager(CRUDMixin, RESTManager):
201205 _update_attrs = RequiredOptional (
202206 optional = ("description" , "ref" , "cron" , "cron_timezone" , "active" ),
203207 )
208+
209+
210+ class ProjectPipelineTestReport (RESTObject ):
211+ _id_attr = None
212+
213+
214+ class ProjectPipelineTestReportManager (GetWithoutIdMixin , RESTManager ):
215+ _path = "/projects/%(project_id)s/pipelines/%(pipeline_id)s/test_report"
216+ _obj_cls = ProjectPipelineTestReport
217+ _from_parent_attrs = {"project_id" : "project_id" , "pipeline_id" : "id" }
0 commit comments