mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
test(acceptance): give the B256 case a copy folder of its own
Every case of a run shares one root, and the pdfs copy case before it had already made "copies" there, so the B256 case failed on its mkdir with EEXIST before it checked anything.
This commit is contained in:
1 parent
6f504d2e83
commit
42f3a18177
1 file changed
+3
-1
@@ -787,7 +787,9 @@ def test_server_copy_never_copies_an_old_version(ctx: Context) -> None:
|
||||
root = ctx.root
|
||||
path = root / "being-written.txt"
|
||||
write_durable(path, b"first version")
|
||||
dest = root / "copies"
|
||||
# Its own folder: every case of a run shares the root, and "pdfs copy"
|
||||
# already made "copies" there.
|
||||
dest = root / "b256-copies"
|
||||
dest.mkdir()
|
||||
daemon.wait_for_queue()
|
||||
|
||||
|
||||
Reference in new issue
Block a user