From 3b5abde73d9a263333c910489875937f0273874c Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Sun, 29 Jun 2025 19:57:56 +0300 Subject: [PATCH] Fix fmt --- 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 a922edd..295635f 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)