summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-11-05 19:13:53 +0900
committerRyo Nakamura <upa@haeena.net>2022-11-05 19:13:53 +0900
commit6e6e5066c7ad83ad2daf8f8ccbe7231211e41c97 (patch)
tree808f708dc4716ee55eb65ba5a9d47c084e59a46f /test
parent24126c927d22d2baccb920adf8ebe3ec5a7283a3 (diff)
create file at the remote although file size is 0
Diffstat (limited to 'test')
-rw-r--r--test/test_e2e.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py
index 3091255..bc06805 100644
--- a/test/test_e2e.py
+++ b/test/test_e2e.py
@@ -163,7 +163,9 @@ def test_cannot_override_file_with_dir(mscp, src_prefix, dst_prefix):
@pytest.mark.parametrize("src_prefix, dst_prefix", param_remote_prefix)
def test_transfer_zero_bytes(mscp, src_prefix, dst_prefix):
src = File("src", size = 0).make()
+ dst = File("dst")
run2ok([mscp, src_prefix + src.path, dst_prefix + "dst"])
+ assert os.path.exists("dst")
src.cleanup()
-
+ dst.cleanup()