Skip to content

Commit 2c2f32f

Browse files
committed
add cover
1 parent 94f004f commit 2c2f32f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33

44
def test_strip_user_pass_url():
55
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/"
67

78

89
def test_obscure_user_pass_url():
910
assert (
1011
obscure_user_pass_url("http://1.2.3.4/?user=foo&pass=bar")
1112
== "http://1.2.3.4/?user=********&pass=********"
1213
)
14+
assert obscure_user_pass_url("http://1.2.3.4/") == "http://1.2.3.4/"

0 commit comments

Comments
 (0)