Commit 9a7c4df
fix: enable mock for unit tests that use dummy docker
Unit tests that use dummy docker (not real Docker) need the mock enabled
because dummy docker doesn't create real images or OCI tars.
Without the mock, container extraction fails with 'No such image' error
when the test package has no image: config (which triggers extraction).
Tests fixed:
- TestBuildDockerDeps
- TestDockerPostProcessing
This resolves the CI unit test failures while keeping integration tests
using real extraction code.
Co-authored-by: Ona <[email protected]>1 parent 2ef105b commit 9a7c4df
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
548 | 554 | | |
549 | 555 | | |
550 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
551 | 563 | | |
552 | 564 | | |
553 | 565 | | |
| |||
0 commit comments