We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f004f commit 2c2f32fCopy full SHA for 2c2f32f
tests/test_client.py
@@ -3,10 +3,12 @@
3
4
def test_strip_user_pass_url():
5
assert strip_user_pass_url("http://1.2.3.4/?user=foo&pass=bar") == "http://1.2.3.4/"
6
+ assert strip_user_pass_url("http://1.2.3.4/") == "http://1.2.3.4/"
7
8
9
def test_obscure_user_pass_url():
10
assert (
11
obscure_user_pass_url("http://1.2.3.4/?user=foo&pass=bar")
12
== "http://1.2.3.4/?user=********&pass=********"
13
)
14
+ assert obscure_user_pass_url("http://1.2.3.4/") == "http://1.2.3.4/"
0 commit comments