diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-06 02:45:48 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-21 18:00:26 -0500 |
| commit | 7f08260b6e44b59c8fc40830d6b4c3713bd8edf3 (patch) | |
| tree | 0671f4f10de8b230293f3f6866746c77c2fdd562 /classes | |
| parent | b3fd99da6e63ee4076c9d326f9088ffabf710de8 (diff) | |
| download | meta-virtualization-7f08260b6e44b59c8fc40830d6b4c3713bd8edf3.tar.gz | |
tests: fix has_image false positive from substring match
Change has_image() to use 'image inspect' instead of substring search
in 'images' output. The substring approach caused false positives when
images like 'nginx:alpine' were present - searching for 'alpine' would
match and skip pulling 'alpine:latest'.
This fixes TestSaveLoad::test_save_and_load which failed after the
port forwarding test introduced nginx:alpine.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions
