feat: remove default favicon
This commit is contained in:
@@ -1227,12 +1227,12 @@ class TestRequestHandler(BaseHandlerTestCase):
|
||||
with (
|
||||
self.patch_call(
|
||||
"http.server.SimpleHTTPRequestHandler.translate_path",
|
||||
["/favicon.ico"],
|
||||
["/robots.txt"],
|
||||
),
|
||||
self.seal_mocks(),
|
||||
):
|
||||
self.assertEqual(
|
||||
handler.translate_path("/favicon.ico"),
|
||||
handler.translate_path("/robots.txt"),
|
||||
None,
|
||||
)
|
||||
|
||||
@@ -1269,12 +1269,12 @@ class TestRequestHandler(BaseHandlerTestCase):
|
||||
self.mock_call(self.registry.get_from_host, ["example.com"], Page("path")),
|
||||
self.patch_call(
|
||||
"http.server.SimpleHTTPRequestHandler.translate_path",
|
||||
["/favicon.ico"],
|
||||
["/robots.txt"],
|
||||
),
|
||||
self.seal_mocks(),
|
||||
):
|
||||
self.assertEqual(
|
||||
handler.translate_path("/favicon.ico"),
|
||||
handler.translate_path("/robots.txt"),
|
||||
None,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user