Skip to content

Commit

Permalink
fix test test_build_basic_image_with_all_params
Browse files Browse the repository at this point in the history
the upstream image has now more labels by default, so let's check for
presence of the one we are adding

Signed-off-by: Tomas Tomecek <[email protected]>
  • Loading branch information
TomasTomecek committed Mar 31, 2022
1 parent 3964aa6 commit e685015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/test_buildah.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_build_basic_image_with_all_params(tmpdir, target_image):
basic_playbook_path, base_image, target_image]
ab(cmd, str(tmpdir))
out = inspect_resource("image", target_image)
assert out['ImageAnnotations'] == {'bohemian': 'rhapsody'}
assert out['ImageAnnotations']['bohemian'] == 'rhapsody'
co = out["Docker"]["config"]
assert co["WorkingDir"] == workdir_path
assert co["Labels"]["A"] == "B"
Expand Down

0 comments on commit e685015

Please sign in to comment.