Skip to content

Commit

Permalink
tests: Reproducer for pushing large files
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Nov 15, 2024
1 parent 2a191d6 commit 1a92271
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/scp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ def test_get_large(dst_path, src_path_large, ssh_scp, large_payload):
"""Check that SCP file download gets over 64kB of data."""
ssh_scp.get(str(src_path_large), str(dst_path))
assert dst_path.read_bytes() == large_payload

def test_put_large(dst_path, src_path_large, ssh_scp, large_payload):
"""Check that SCP file download gets over 64kB of data."""
ssh_scp.put(str(src_path_large), str(dst_path))
assert dst_path.read_bytes() == large_payload

0 comments on commit 1a92271

Please sign in to comment.