Skip to content

Commit f82aff9

Browse files
mvo5supakeen
authored andcommitted
test: tweak error message for new images error
1 parent 36c6042 commit f82aff9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_manifest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ def test_manifest_cross_arch_check(tmp_path, build_container):
153153
"manifest", "--target-arch=aarch64",
154154
f"localhost/{container_tag}"
155155
], check=True, capture_output=True, encoding="utf8")
156-
assert 'cannot generate manifest: requested container architecture '\
157-
'does not match resolved container: "x86_64" !=' in exc.value.stderr
156+
assert 'cannot generate manifest: invalid arch: aarch64' in exc.value.stderr
158157

159158

160159
def find_rootfs_type_from(manifest_str):

0 commit comments

Comments
 (0)