diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-12-28 00:37:13 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-12-28 00:37:13 +0100 |
commit | e5e7c9b0f92bb1007a0a13a75b51422d85bdf084 (patch) | |
tree | d83d6c0542a6ea41d3c2c37a35bed5f9baf66c67 /nixos/tests/loki.nix | |
parent | fbbe4ad559071d43b37bc580520fdb67be0f630b (diff) | |
download | nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar.gz nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar.bz2 nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar.lz nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar.xz nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.tar.zst nixpkgs-e5e7c9b0f92bb1007a0a13a75b51422d85bdf084.zip |
nixos/tests/loki: satisfy linter
Apparently, the linter used for python test-scripts just decided that a reformat of the testscript is now necessary.
Diffstat (limited to 'nixos/tests/loki.nix')
-rw-r--r-- | nixos/tests/loki.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/loki.nix b/nixos/tests/loki.nix index bede775b7d3..0c6dff3fdf1 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'" ) |