Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test case for password containing @ symbol #488

Merged
merged 4 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iredis/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
IRedis client.
"""

import re
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions iredis/renders.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
func(redis-response) -> formatted result(str)
"""

import logging
import time
from packaging.version import parse as version_parse
Expand Down
62 changes: 3 additions & 59 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/unittests/test_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,19 @@ def test_command_shell_options_higher_priority():
verify_ssl=None,
),
),
(
"redis://username:pass@word@localhost:12345/2",
DSN(
scheme="redis",
host="localhost",
port=12345,
path=None,
db=2,
username="username",
password="pass@word",
verify_ssl=None,
),
),
(
"redis://username@localhost:12345",
DSN(
Expand Down
Loading