()
| 87 | |
| 88 | |
| 89 | def test_hidden_password() -> None: |
| 90 | u = URL("https://example.org/path/to/somewhere") |
| 91 | assert repr(u) == "URL('https://example.org/path/to/somewhere')" |
| 92 | |
| 93 | u = URL("https://username@example.org/path/to/somewhere") |
| 94 | assert repr(u) == "URL('https://username@example.org/path/to/somewhere')" |
| 95 | |
| 96 | u = URL("https://username:password@example.org/path/to/somewhere") |
| 97 | assert repr(u) == "URL('https://username:********@example.org/path/to/somewhere')" |
| 98 | |
| 99 | |
| 100 | def test_csv() -> None: |