From a320eb8cc0ffd385a276d5fe923cec930e64dc66 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Jan 2022 21:03:22 +0100 Subject: Adding upstream version 1.11.0. Signed-off-by: Daniel Baumann --- tests/unittests/command_parse/test_stream.py | 2 +- tests/unittests/test_client.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/unittests') diff --git a/tests/unittests/command_parse/test_stream.py b/tests/unittests/command_parse/test_stream.py index 5807aa2..94408df 100644 --- a/tests/unittests/command_parse/test_stream.py +++ b/tests/unittests/command_parse/test_stream.py @@ -405,7 +405,7 @@ def test_xread(judge_command): "count": "2", "streams": "STREAMS", # FIXME current grammar can't support multiple tokens - # so the ids will be recongized to keys. + # so the ids will be recognized to keys. "keys": "mystream writers 0-0", "stream_id": "0-0", }, diff --git a/tests/unittests/test_client.py b/tests/unittests/test_client.py index 5887579..b40fc8b 100644 --- a/tests/unittests/test_client.py +++ b/tests/unittests/test_client.py @@ -68,10 +68,10 @@ def test_do_help(config): client = Client("127.0.0.1", "6379", None) config.version = "5.0.0" resp = client.do_help("SET") - assert resp[10] == ("", "1.0.0 (Avaiable on your redis-server: 5.0.0)") + assert resp[10] == ("", "1.0.0 (Available on your redis-server: 5.0.0)") config.version = "2.0.0" resp = client.do_help("cluster", "addslots") - assert resp[10] == ("", "3.0.0 (Not avaiable on your redis-server: 2.0.0)") + assert resp[10] == ("", "3.0.0 (Not available on your redis-server: 2.0.0)") def test_rainbow_iterator(): -- cgit v1.2.3