diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-25 20:03:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-25 20:04:46 +0000 |
commit | 668977aa6a04dbdfb1c4856dbf8577800505873e (patch) | |
tree | 79658cc59958112ece04da15d09433c7d779eff2 /tests/unittests | |
parent | Releasing debian version 1.10.0-1. (diff) | |
download | iredis-668977aa6a04dbdfb1c4856dbf8577800505873e.tar.xz iredis-668977aa6a04dbdfb1c4856dbf8577800505873e.zip |
Merging upstream version 1.11.0:
- compatible with mistune 2.0 (Closes: #1003572).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/command_parse/test_stream.py | 2 | ||||
-rw-r--r-- | tests/unittests/test_client.py | 4 |
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(): |