summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2023-01-24 16:45:07 -0500
committerYaroslav Halchenko <debian@onerussian.com>2023-01-24 16:55:53 -0500
commit5efa354ce9fff1217d22e52493d1442866821a7b (patch)
tree46e6a1a2a3011442feba301fa0e9061c88346fce
parentd8c724c9dc4ec044f7f4141f70f9c2bd7c7ddb4c (diff)
downloadparamiko-5efa354ce9fff1217d22e52493d1442866821a7b.tar.gz
RF test to use "12345" and "to" instead of misspelling components
to not upset codespell
-rw-r--r--tests/test_proxy.py4
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),