From 8b5c085aca51b634d5f213f107f17505ff030bc0 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 4 Jan 2026 11:13:53 +0100 Subject: [PATCH] f2/testlib/fixtures/env: `home` cannot be `None` Is there a situation where `home` can be None? This hinders the ability to use it quickly without type gating in the test code itself. Change-Id: Idd739ddad67e10d6f7a6aad283c0e3b7cd08106a Signed-off-by: Raito Bezarius --- tests/functional2/testlib/fixtures/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional2/testlib/fixtures/env.py b/tests/functional2/testlib/fixtures/env.py index 5ea4f792a..dd5a196c3 100644 --- a/tests/functional2/testlib/fixtures/env.py +++ b/tests/functional2/testlib/fixtures/env.py @@ -137,7 +137,7 @@ class _ManagedPath: @dataclasses.dataclass class _Dirs: test_root: Path | None - home: Path | None + home: Path nix_log_dir: Path | None nix_state_dir: Path | None nix_conf_dir: Path | None