From 0883ad085e0cf039c8ae13eb2789c1076544d225 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 24 Jun 2025 08:21:48 -0300 Subject: [PATCH] Fix Path usage in `test_rsync_roots_no_roots` --- testing/test_workermanage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_workermanage.py b/testing/test_workermanage.py index 6fb2795..b3e8a1c 100644 --- a/testing/test_workermanage.py +++ b/testing/test_workermanage.py @@ -206,8 +206,8 @@ class TestNodeManager: p = Path(p) print("remote curdir", p) assert p == dest.joinpath(config.rootpath.name) - assert p.joinpath("dir1").check() - assert p.joinpath("dir1", "file1").check() + assert p.joinpath("dir1").is_dir() + assert p.joinpath("dir1", "file1").is_file() def test_popen_rsync_subdir( self,