diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /tests/unittests | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-df49d7c38b2b8498c93215691d16403b32becec8.tar.xz iredis-df49d7c38b2b8498c93215691d16403b32becec8.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/unittests/command_parse/test_stream.py | 4 | ||||
-rw-r--r-- | tests/unittests/test_entry.py | 23 |
2 files changed, 25 insertions, 2 deletions
diff --git a/tests/unittests/command_parse/test_stream.py b/tests/unittests/command_parse/test_stream.py index 94408df..82f8670 100644 --- a/tests/unittests/command_parse/test_stream.py +++ b/tests/unittests/command_parse/test_stream.py @@ -333,7 +333,7 @@ def test_xclaim(judge_command): }, ) judge_command( - "XCLAIM mystream mygroup Alice 3600000 1526569498055-0 IDEL 300", + "XCLAIM mystream mygroup Alice 3600000 1526569498055-0 IDLE 300", { "command": "XCLAIM", "key": "mystream", @@ -341,7 +341,7 @@ def test_xclaim(judge_command): "consumer": "Alice", "millisecond": ["3600000", "300"], "stream_id": "1526569498055-0", - "idel": "IDEL", + "idle": "IDLE", }, ) judge_command( diff --git a/tests/unittests/test_entry.py b/tests/unittests/test_entry.py index bfc7bec..912aabf 100644 --- a/tests/unittests/test_entry.py +++ b/tests/unittests/test_entry.py @@ -107,6 +107,7 @@ def test_command_shell_options_higher_priority(): db=3, username=None, password=None, + verify_ssl=None, ), ), ( @@ -119,6 +120,7 @@ def test_command_shell_options_higher_priority(): db=0, username=None, password=None, + verify_ssl=None, ), ), ( @@ -131,6 +133,20 @@ def test_command_shell_options_higher_priority(): db=0, username=None, password=None, + verify_ssl=None, + ), + ), + ( + "rediss://localhost:6379/1?ssl_cert_reqs=optional", + DSN( + scheme="rediss", + host="localhost", + port=6379, + path=None, + db=1, + username=None, + password=None, + verify_ssl="optional", ), ), ( @@ -143,6 +159,7 @@ def test_command_shell_options_higher_priority(): db=0, username="username", password="password", + verify_ssl=None, ), ), ( @@ -155,6 +172,7 @@ def test_command_shell_options_higher_priority(): db=0, username=None, password="password", + verify_ssl=None, ), ), ( @@ -167,6 +185,7 @@ def test_command_shell_options_higher_priority(): db=0, username="username", password=None, + verify_ssl=None, ), ), ( @@ -180,6 +199,7 @@ def test_command_shell_options_higher_priority(): db=0, username="username", password=None, + verify_ssl=None, ), ), ( @@ -192,6 +212,7 @@ def test_command_shell_options_higher_priority(): db=0, username="username", password="password2", + verify_ssl=None, ), ), ( @@ -204,6 +225,7 @@ def test_command_shell_options_higher_priority(): db=0, username=None, password="password3", + verify_ssl=None, ), ), ( @@ -216,6 +238,7 @@ def test_command_shell_options_higher_priority(): db=0, username=None, password=None, + verify_ssl=None, ), ), ], |