Make sure to delete the image placements in the manifest builder cleanup code

This commit is contained in:
Joseph Schorr 2019-02-16 00:28:27 -05:00
parent f2a351183a
commit 4a22a52aee
2 changed files with 8 additions and 1 deletions

View file

@ -67,6 +67,9 @@ def test_build_manifest(layers, fake_session, registry_model):
assert tag
assert tag in builder.committed_tags
# Mark the builder as done.
builder.done()
# Verify the legacy image for the tag.
found = registry_model.get_repo_tag(repository_ref, 'somenewtag', include_legacy_image=True)
assert found