MCPcopy
hub / github.com/scrapy/scrapy / test_follow_flags

Method test_follow_flags

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

Source from the content-addressed store, hash-verified

267 )
268
269 def test_follow_flags(self):
270 res = self.response_class("http://example.com/")
271 fol = res.follow("http://example.com/", flags=["cached", "allowed"])
272 assert fol.flags == ["cached", "allowed"]
273
274 # Response.follow_all
275

Callers

nothing calls this directly

Calls 1

followMethod · 0.45

Tested by

no test coverage detected