Skip to content

Commit

Permalink
add test case for password containing @ symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
laixintao committed Feb 6, 2024
1 parent 40c828e commit 38b9ac9
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 38b9ac9

Please sign in to comment.