Skip to content
Snippets Groups Projects
Verified Commit c59399c3 authored by Štěpán Henek's avatar Štěpán Henek 🐻
Browse files

fixup! Fix tests.

parent a5ac6555
No related merge requests found
Pipeline #50408 passed with stage
in 48 seconds
......@@ -148,15 +148,10 @@ def test_get_settings(
"kind": "request",
})
if infrastructure.backend_name != "mock" and srv_mount == "/srv":
if mounts_file_id == "mounts1":
assert "data" not in res
assert "errors" in res
assert "Can't find device" in res["errors"][0]["description"]
elif mounts_file_id == "mounts3":
assert "data" not in res
assert "errors" in res
assert "Can't get UUID" in res["errors"][0]["description"]
if infrastructure.backend_name != "mock" and srv_mount == "/srv" and mounts_file_id == "mounts3":
assert "data" not in res
assert "errors" in res
assert "Can't get UUID" in res["errors"][0]["description"]
else:
assert set(res["data"].keys()) == {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment