We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d3944 commit 9930761Copy full SHA for 9930761
tests/unit/sftp_test.py
@@ -21,15 +21,15 @@ def sftp_session(ssh_client_session):
21
22
23
@pytest.fixture(
24
- params=(32, 1024 + 1),
+ params=(32, 32 * 1024 + 1),
25
ids=('small-payload', 'large-payload'),
26
)
27
def transmit_payload(request: pytest.FixtureRequest) -> bytes:
28
"""Generate binary test payloads of assorted sizes.
29
30
The choice 32 is arbitrary small value.
31
32
- The choice 1024 + 1 is meant to be 1B larger than the chunk size used in
+ The choice 32769 byte (32kB + 1B) is meant to be 1B larger than the chunk size used in
33
:file:`sftp.pyx` to make sure we excercise at least two rounds of reading/writing.
34
"""
35
payload_len = request.param
0 commit comments