MCPcopy
hub / github.com/scrapy/scrapy / test_follow_whitespace_link

Method test_follow_whitespace_link

tests/test_http_response.py:264–267  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

262 strict=True,
263 )
264 def test_follow_whitespace_link(self):
265 self._assert_followed_url(
266 Link("http://example.com/foo "), "http://example.com/foo"
267 )
268
269 def test_follow_flags(self):
270 res = self.response_class("http://example.com/")

Callers

nothing calls this directly

Calls 2

_assert_followed_urlMethod · 0.95
LinkClass · 0.90

Tested by

no test coverage detected