mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff --git a/tests/test_clean.py b/tests/test_clean.py
|
|
index 8f816f9..2be6f7b 100644
|
|
--- a/tests/test_clean.py
|
|
+++ b/tests/test_clean.py
|
|
@@ -525,31 +525,16 @@ def test_attributes_list():
|
|
{"protocols": ["http"]},
|
|
'<a href="example.com">valid</a>',
|
|
),
|
|
- (
|
|
- '<a href="example.com:8000">valid</a>',
|
|
- {"protocols": ["http"]},
|
|
- '<a href="example.com:8000">valid</a>',
|
|
- ),
|
|
(
|
|
'<a href="localhost">valid</a>',
|
|
{"protocols": ["http"]},
|
|
'<a href="localhost">valid</a>',
|
|
),
|
|
- (
|
|
- '<a href="localhost:8000">valid</a>',
|
|
- {"protocols": ["http"]},
|
|
- '<a href="localhost:8000">valid</a>',
|
|
- ),
|
|
(
|
|
'<a href="192.168.100.100">valid</a>',
|
|
{"protocols": ["http"]},
|
|
'<a href="192.168.100.100">valid</a>',
|
|
),
|
|
- (
|
|
- '<a href="192.168.100.100:8000">valid</a>',
|
|
- {"protocols": ["http"]},
|
|
- '<a href="192.168.100.100:8000">valid</a>',
|
|
- ),
|
|
pytest.param(
|
|
*(
|
|
'<a href="192.168.100.100:8000/foo#bar">valid</a>',
|