Skip to content

Commit e5f7338

Browse files
committed
tests: Reproducer for pushing large files
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent a5292bd commit e5f7338

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/unit/scp_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,9 @@ def test_get_large(dst_path, src_path_large, ssh_scp, large_payload):
120120
"""Check that SCP file download gets over 64kB of data."""
121121
ssh_scp.get(str(src_path_large), str(dst_path))
122122
assert dst_path.read_bytes() == large_payload
123+
124+
125+
def test_put_large(dst_path, src_path_large, ssh_scp, large_payload):
126+
"""Check that SCP file download gets over 64kB of data."""
127+
ssh_scp.put(str(src_path_large), str(dst_path))
128+
assert dst_path.read_bytes() == large_payload

0 commit comments

Comments
 (0)