From afc2be57f58c4532378960c92e77c6ea45eec42e Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Thu, 26 Jun 2025 00:07:30 +0300 Subject: [PATCH] Fix formatting --- nixos-modules/static-page/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos-modules/static-page/test.py b/nixos-modules/static-page/test.py index 295635f..a922edd 100644 --- a/nixos-modules/static-page/test.py +++ b/nixos-modules/static-page/test.py @@ -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)