MCPcopy
hub / github.com/scrapy/scrapy / setup_method

Method setup_method

tests/test_contracts.py:574–575  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

572
573class TestCustomContractPrePostProcess:
574 def setup_method(self):
575 self.results = TextTestResult(stream=None, descriptions=False, verbosity=0)
576
577 def test_pre_hook_keyboard_interrupt(self):
578 spider = DemoSpider()

Callers

nothing calls this directly

Calls 1

TextTestResultClass · 0.85

Tested by

no test coverage detected