diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2023-01-24 16:45:07 -0500 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2023-01-24 16:55:53 -0500 |
commit | 5efa354ce9fff1217d22e52493d1442866821a7b (patch) | |
tree | 46e6a1a2a3011442feba301fa0e9061c88346fce /tests/test_proxy.py | |
parent | d8c724c9dc4ec044f7f4141f70f9c2bd7c7ddb4c (diff) |
RF test to use "12345" and "to" instead of misspelling components
to not upset codespell
Diffstat (limited to 'tests/test_proxy.py')
-rw-r--r-- | tests/test_proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_proxy.py b/tests/test_proxy.py index 83bdc040..64ea5651 100644 --- a/tests/test_proxy.py +++ b/tests/test_proxy.py @@ -44,10 +44,10 @@ class TestProxyCommand: select.return_value = [stdout], None, None fileno = stdout.fileno.return_value # Intentionally returning <5 at a time sometimes - os_read.side_effect = [b"was", b"te", b"of ti", b"me"] + os_read.side_effect = [b"123", b"45", b"of to", b"me"] proxy = ProxyCommand("hi") data = proxy.recv(5) - assert data == b"waste" + assert data == b"12345" assert [x[0] for x in os_read.call_args_list] == [ (fileno, 5), (fileno, 2), |