diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-11-05 19:13:53 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-11-05 19:13:53 +0900 |
commit | 6e6e5066c7ad83ad2daf8f8ccbe7231211e41c97 (patch) | |
tree | 808f708dc4716ee55eb65ba5a9d47c084e59a46f /test/test_e2e.py | |
parent | 24126c927d22d2baccb920adf8ebe3ec5a7283a3 (diff) |
create file at the remote although file size is 0
Diffstat (limited to 'test/test_e2e.py')
-rw-r--r-- | test/test_e2e.py | 4 |
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() |