mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +08:00
image: rework parent/child/history matching
Rework our expectations of how images that are derived from each other look, so that we don't assume that an image that's derived from a base image always adds layers relative to that base image. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
@ -139,7 +139,7 @@ func TestImage_New(t *testing.T) {
|
||||
newImage, err := ir.New(context.Background(), img, "", "", writer, nil, SigningOptions{}, false, nil)
|
||||
assert.NoError(t, err)
|
||||
assert.NotEqual(t, newImage.ID(), "")
|
||||
err = newImage.Remove(false)
|
||||
err = newImage.Remove(context.Background(), false)
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user