Exemple #1
0
 def test_with_username_replaces_username(self):
     url = URL('https://[email protected]/')
     assert url.with_username('alice') == 'https://[email protected]/'
Exemple #2
0
 def test_with_username_adds_username(self):
     url = URL('https://github.com/')
     assert url.with_username('zack') == 'https://[email protected]/'