Ignore telephone links in "assert_no_404_errors()"
This commit is contained in:
parent
045253b60b
commit
e78391b30a
|
@ -6759,6 +6759,7 @@ class BaseCase(unittest.TestCase):
|
||||||
for link in all_links:
|
for link in all_links:
|
||||||
if (
|
if (
|
||||||
"data:" not in link
|
"data:" not in link
|
||||||
|
and "tel:" not in link
|
||||||
and "mailto:" not in link
|
and "mailto:" not in link
|
||||||
and "javascript:" not in link
|
and "javascript:" not in link
|
||||||
and "://fonts.gstatic.com" not in link
|
and "://fonts.gstatic.com" not in link
|
||||||
|
|
Loading…
Reference in New Issue