Files
nixpkgs/pkgs/tools/virtualization/cloud-init/0002-fix-test-logs-on-nixos.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

23 lines
841 B
Diff

diff --git a/tests/unittests/cmd/devel/test_logs.py b/tests/unittests/cmd/devel/test_logs.py
index 78466e8d0..cc2b7246d 100644
--- a/tests/unittests/cmd/devel/test_logs.py
+++ b/tests/unittests/cmd/devel/test_logs.py
@@ -179,7 +179,7 @@ class TestCollectLogs:
for to_write in to_collect:
write_file(
- tmp_path / to_write, pathlib.Path(to_write).name, mode=0x700
+ tmp_path / to_write, pathlib.Path(to_write).name
)
collect_dir = tmp_path / "collect"
@@ -225,7 +225,7 @@ class TestCollectLogs:
for to_write in to_collect:
write_file(
- tmp_path / to_write, pathlib.Path(to_write).name, mode=0x700
+ tmp_path / to_write, pathlib.Path(to_write).name
)
collect_dir = tmp_path / "collect"