Skip to content

Commit 0883ad0

Browse files
authored
Fix Path usage in test_rsync_roots_no_roots
1 parent 58a51bc commit 0883ad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_workermanage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ def test_rsync_roots_no_roots(
206206
p = Path(p)
207207
print("remote curdir", p)
208208
assert p == dest.joinpath(config.rootpath.name)
209-
assert p.joinpath("dir1").check()
210-
assert p.joinpath("dir1", "file1").check()
209+
assert p.joinpath("dir1").is_dir()
210+
assert p.joinpath("dir1", "file1").is_file()
211211

212212
def test_popen_rsync_subdir(
213213
self,

0 commit comments

Comments
 (0)