From e5e7c9b0f92bb1007a0a13a75b51422d85bdf084 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 28 Dec 2020 00:37:13 +0100 Subject: [PATCH] nixos/tests/loki: satisfy linter Apparently, the linter used for python test-scripts just decided that a reformat of the testscript is now necessary. --- nixos/tests/loki.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/tests/loki.nix b/nixos/tests/loki.nix index bede775b7d3c..0c6dff3fdf13 100644 --- a/nixos/tests/loki.nix +++ b/nixos/tests/loki.nix @@ -46,7 +46,9 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: machine.wait_for_open_port(9080) machine.succeed("echo 'Loki Ingestion Test' > /var/log/testlog") # should not have access to journal unless specified - machine.fail("systemctl show --property=SupplementaryGroups promtail | grep -q systemd-journal") + machine.fail( + "systemctl show --property=SupplementaryGroups promtail | grep -q systemd-journal" + ) machine.wait_until_succeeds( "${pkgs.grafana-loki}/bin/logcli --addr='http://localhost:3100' query --no-labels '{job=\"varlogs\",filename=\"/var/log/testlog\"}' | grep -q 'Loki Ingestion Test'" )