Skip to content

Commit b91b017

Browse files
committed
Fix test suite for oci packages
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 8c5c951 commit b91b017

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/types/oci-test.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@
7171
},
7272
{
7373
"description": "Rountrip test for <class 'type'> PURL",
74-
"test_group": "base",
74+
"test_group": "advanced",
7575
"test_type": "roundtrip",
7676
"input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
77-
"expected_output": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
77+
"expected_output": "pkg:oci/debian@sha256:244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
7878
"expected_failure": false,
7979
"expected_failure_reason": null
8080
},
8181
{
8282
"description": "Build test for <class 'type'> PURL",
83-
"test_group": "base",
83+
"test_group": "advanced",
8484
"test_type": "build",
8585
"input": {
8686
"type": "oci",
@@ -93,7 +93,7 @@
9393
},
9494
"subpath": null
9595
},
96-
"expected_output": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
96+
"expected_output": "pkg:oci/debian@sha256:244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye",
9797
"expected_failure": false,
9898
"expected_failure_reason": null
9999
},
@@ -118,16 +118,16 @@
118118
},
119119
{
120120
"description": "Rountrip test for <class 'type'> PURL",
121-
"test_group": "base",
121+
"test_group": "advanced",
122122
"test_type": "roundtrip",
123123
"input": "pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
124-
"expected_output": "pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
124+
"expected_output": "pkg:oci/static@sha256:244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
125125
"expected_failure": false,
126126
"expected_failure_reason": null
127127
},
128128
{
129129
"description": "Build test for <class 'type'> PURL",
130-
"test_group": "base",
130+
"test_group": "advanced",
131131
"test_type": "build",
132132
"input": {
133133
"type": "oci",
@@ -140,7 +140,7 @@
140140
},
141141
"subpath": null
142142
},
143-
"expected_output": "pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
143+
"expected_output": "pkg:oci/static@sha256:244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest",
144144
"expected_failure": false,
145145
"expected_failure_reason": null
146146
},
@@ -167,7 +167,7 @@
167167
"test_group": "advanced",
168168
"test_type": "roundtrip",
169169
"input": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1",
170-
"expected_output": "pkg:oci/hello-wasm@sha256:A244fd47e07d10?tag=v1",
170+
"expected_output": "pkg:oci/hello-wasm@sha256:244fd47e07d10?tag=v1",
171171
"expected_failure": false,
172172
"expected_failure_reason": null
173173
},
@@ -185,7 +185,7 @@
185185
},
186186
"subpath": null
187187
},
188-
"expected_output": "pkg:oci/hello-wasm@sha256:A244fd47e07d10?tag=v1",
188+
"expected_output": "pkg:oci/hello-wasm@sha256:244fd47e07d10?tag=v1",
189189
"expected_failure": false,
190190
"expected_failure_reason": null
191191
}

0 commit comments

Comments
 (0)