From 30d98307cb33a3d4b8acd91af5502691d5d34efd Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 8 Sep 2023 16:19:37 +0100 Subject: [PATCH] tests: refactor a path helper --- test_runner/fixtures/neon_fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index 4057f620a0..bdb6ae2370 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -1778,7 +1778,7 @@ class NeonPageserver(PgProtocol): @property def workdir(self) -> Path: - return Path(os.path.join(self.env.repo_dir, f"pageserver_{self.id}")) + return self.env.repo_dir / f"pageserver_{self.id}" def assert_no_errors(self): logfile = open(os.path.join(self.workdir, "pageserver.log"), "r")