Commit e4f1b1e
test(download): use download schema through module
Instead of loading the download result schema as fixture, access it
through the `schema` submodule of `debsbom` directly.
This avoids any unexpected errors when running the tests in an
environment where the directory structure may be slightly different,
for example when building and testing the `debsbom` package using
Debian's Python packaging tooling (pybuild specifically).
Signed-off-by: Max R. Carrara <max@aequito.sh>1 parent c8fecf2 commit e4f1b1e
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 269 | | |
277 | 270 | | |
278 | 271 | | |
| |||
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
288 | | - | |
| 281 | + | |
289 | 282 | | |
290 | 283 | | |
291 | 284 | | |
292 | 285 | | |
293 | | - | |
| 286 | + | |
294 | 287 | | |
295 | 288 | | |
296 | | - | |
| 289 | + | |
297 | 290 | | |
298 | 291 | | |
299 | 292 | | |
300 | 293 | | |
301 | 294 | | |
302 | | - | |
| 295 | + | |
303 | 296 | | |
304 | 297 | | |
305 | 298 | | |
| |||
0 commit comments