osbuild: fix error match in mount test for fc40
Similar to 4a51baf this fixes another issue in the mount error
checking where the error message changed.
This commit is contained in:
parent
ed0239c808
commit
a0d4dfa575
1 changed files with 1 additions and 1 deletions
|
|
@ -57,4 +57,4 @@ def test_osbuild_mount_failure_msg(tmp_path):
|
|||
"options": [],
|
||||
}
|
||||
mnt_service.mount(args)
|
||||
assert "special device /dev/invalid-src does not exist" in str(e.value)
|
||||
assert re.search(r"special device /dev/invalid-src does not exist|Can't open blockdev.", str(e.value))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue