diff options
Diffstat (limited to 'tests')
-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, ), ), ], |