Fix fmt
All checks were successful
CI / build (push) Successful in 54s
CI / deploy (docs-ops.qo.is) (push) Successful in 46s
CI / deploy (system-physical) (push) Successful in 1m30s
CI / deploy (system-vm) (push) Successful in 54s

This commit is contained in:
Fabian Hauser 2025-06-29 19:57:56 +03:00
parent 78afd3ecb7
commit 3b5abde73d

View file

@ -14,9 +14,9 @@ def test(subtest, webserver):
value = node.succeed(
f"curl -s --no-location -o /dev/null -w '%{{{variable}}}' '{url}'"
)
assert (
value == expected
), f"expected {variable} to be '{expected}' but got '{value}'"
assert value == expected, (
f"expected {variable} to be '{expected}' but got '{value}'"
)
def expect_http_code(node, code, url):
curl_variable_test(node, "http_code", code, url)