mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
tests: refactor a path helper
This commit is contained in:
@@ -1707,7 +1707,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")
|
||||
|
||||
Reference in New Issue
Block a user