Skip to content

Commit

Permalink
cloudapi: add GetTarget() test case for pulp.ostree
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Oct 17, 2023
1 parent ed3c4dc commit c8ad6ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/cloudapi/v2/imagerequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ func TestGetTarget(t *testing.T) {
target: common.ToPtr(ImageRequestUploadTargetOrgOsbuildAwsS3),
expected: target.TargetNameAWSS3,
},
"edge-pulp": {
imageType: ImageTypesEdgeCommit,
target: common.ToPtr(ImageRequestUploadTargetOrgOsbuildPulpOstree),
expected: target.TargetNamePulpOSTree,
},
"edge-gcp-fail": {
imageType: ImageTypesEdgeCommit,
target: common.ToPtr(ImageRequestUploadTargetOrgOsbuildGcp),
Expand Down

0 comments on commit c8ad6ab

Please sign in to comment.