From 79f502034f0f537fba00172ccadc0a1932f22bbd Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 18 Aug 2025 20:27:03 -0400 Subject: [PATCH] Don't hard code runtime-dir, read it with `._state.get_rt_dir()` --- tests/ipc/test_each_tpt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/ipc/test_each_tpt.py b/tests/ipc/test_each_tpt.py index 7dc60444..9ed45789 100644 --- a/tests/ipc/test_each_tpt.py +++ b/tests/ipc/test_each_tpt.py @@ -18,8 +18,9 @@ from tractor import ( @pytest.fixture def bindspace_dir_str() -> str: - bs_dir_str: str = '/run/user/1000/doggy' - bs_dir = Path(bs_dir_str) + rt_dir: Path = tractor._state.get_rt_dir() + bs_dir: Path = rt_dir / 'doggy' + bs_dir_str: str = str(bs_dir) assert not bs_dir.is_dir() yield bs_dir_str