summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/command_parse/test_stream.py2
-rw-r--r--tests/unittests/test_client.py4
2 files changed, 3 insertions, 3 deletions
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():