MCPcopy
hub / github.com/scrapy/scrapy / teardown_method

Method teardown_method

tests/test_pipeline_media.py:64–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 self.fingerprint = crawler.request_fingerprinter.fingerprint
63
64 def teardown_method(self):
65 for name, signal in vars(signals).items():
66 if not name.startswith("_"):
67 disconnect_all(signal)
68
69 def test_modify_media_request(self):
70 request = Request("http://url")

Callers

nothing calls this directly

Calls 2

disconnect_allFunction · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected