From 5efa354ce9fff1217d22e52493d1442866821a7b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 24 Jan 2023 16:45:07 -0500 Subject: RF test to use "12345" and "to" instead of misspelling components to not upset codespell --- tests/test_proxy.py | 4 ++-- 1 file 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), -- cgit v1.2.1