mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
add test_transfer_zero_bytes
This commit is contained in:
@@ -160,3 +160,10 @@ def test_cannot_override_file_with_dir(mscp, src_prefix, dst_prefix):
|
||||
src.cleanup()
|
||||
dst.cleanup()
|
||||
|
||||
@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()
|
||||
run2ok([mscp, src_prefix + src.path, dst_prefix + "dst"])
|
||||
src.cleanup()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user