|
3 | 3 | "tests": [ |
4 | 4 | { |
5 | 5 | "description": "Parse test for <class 'type'> PURL", |
6 | | - "test_group": "base", |
| 6 | + "test_group": "advanced", |
7 | 7 | "test_type": "parse", |
8 | 8 | "input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest", |
9 | 9 | "expected_output": { |
|
23 | 23 | }, |
24 | 24 | { |
25 | 25 | "description": "Rountrip test for <class 'type'> PURL", |
26 | | - "test_group": "base", |
| 26 | + "test_group": "advanced", |
27 | 27 | "test_type": "roundtrip", |
28 | 28 | "input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest", |
29 | | - "expected_output": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest", |
| 29 | + "expected_output": "pkg:oci/debian@sha256:244fd47e07d10?arch=amd64&repository_url=docker.io/library/debian&tag=latest", |
30 | 30 | "expected_failure": false, |
31 | 31 | "expected_failure_reason": null |
32 | 32 | }, |
|
46 | 46 | }, |
47 | 47 | "subpath": null |
48 | 48 | }, |
49 | | - "expected_output": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=docker.io/library/debian&arch=amd64&tag=latest", |
| 49 | + "expected_output": "pkg:oci/debian@sha256:244fd47e07d10?arch=amd64&repository_url=docker.io/library/debian&tag=latest", |
50 | 50 | "expected_failure": false, |
51 | 51 | "expected_failure_reason": null |
52 | 52 | }, |
53 | 53 | { |
54 | 54 | "description": "Parse test for <class 'type'> PURL", |
55 | | - "test_group": "base", |
| 55 | + "test_group": "advanced", |
56 | 56 | "test_type": "parse", |
57 | 57 | "input": "pkg:oci/debian@sha256%3A244fd47e07d10?repository_url=ghcr.io/debian&tag=bullseye", |
58 | 58 | "expected_output": { |
|
71 | 71 | }, |
72 | 72 | { |
73 | 73 | "description": "Rountrip test for <class 'type'> PURL", |
74 | | - "test_group": "base", |
| 74 | + "test_group": "advanced", |
75 | 75 | "test_type": "roundtrip", |
76 | 76 | "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", |
78 | 78 | "expected_failure": false, |
79 | 79 | "expected_failure_reason": null |
80 | 80 | }, |
81 | 81 | { |
82 | 82 | "description": "Build test for <class 'type'> PURL", |
83 | | - "test_group": "base", |
| 83 | + "test_group": "advanced", |
84 | 84 | "test_type": "build", |
85 | 85 | "input": { |
86 | 86 | "type": "oci", |
|
93 | 93 | }, |
94 | 94 | "subpath": null |
95 | 95 | }, |
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", |
97 | 97 | "expected_failure": false, |
98 | 98 | "expected_failure_reason": null |
99 | 99 | }, |
100 | 100 | { |
101 | 101 | "description": "Parse test for <class 'type'> PURL", |
102 | | - "test_group": "base", |
| 102 | + "test_group": "advanced", |
103 | 103 | "test_type": "parse", |
104 | 104 | "input": "pkg:oci/static@sha256%3A244fd47e07d10?repository_url=gcr.io/distroless/static&tag=latest", |
105 | 105 | "expected_output": { |
|
118 | 118 | }, |
119 | 119 | { |
120 | 120 | "description": "Rountrip test for <class 'type'> PURL", |
121 | | - "test_group": "base", |
| 121 | + "test_group": "advanced", |
122 | 122 | "test_type": "roundtrip", |
123 | 123 | "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", |
125 | 125 | "expected_failure": false, |
126 | 126 | "expected_failure_reason": null |
127 | 127 | }, |
|
140 | 140 | }, |
141 | 141 | "subpath": null |
142 | 142 | }, |
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", |
144 | 144 | "expected_failure": false, |
145 | 145 | "expected_failure_reason": null |
146 | 146 | }, |
147 | 147 | { |
148 | 148 | "description": "Parse test for <class 'type'> PURL", |
149 | | - "test_group": "base", |
| 149 | + "test_group": "advanced", |
150 | 150 | "test_type": "parse", |
151 | 151 | "input": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1", |
152 | 152 | "expected_output": { |
|
164 | 164 | }, |
165 | 165 | { |
166 | 166 | "description": "Rountrip test for <class 'type'> PURL", |
167 | | - "test_group": "base", |
| 167 | + "test_group": "advanced", |
168 | 168 | "test_type": "roundtrip", |
169 | 169 | "input": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1", |
170 | | - "expected_output": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1", |
| 170 | + "expected_output": "pkg:oci/hello-wasm@sha256:244fd47e07d10?tag=v1", |
171 | 171 | "expected_failure": false, |
172 | 172 | "expected_failure_reason": null |
173 | 173 | }, |
|
185 | 185 | }, |
186 | 186 | "subpath": null |
187 | 187 | }, |
188 | | - "expected_output": "pkg:oci/hello-wasm@sha256%3A244fd47e07d10?tag=v1", |
| 188 | + "expected_output": "pkg:oci/hello-wasm@sha256:244fd47e07d10?tag=v1", |
189 | 189 | "expected_failure": false, |
190 | 190 | "expected_failure_reason": null |
191 | 191 | } |
|
0 commit comments