MCPcopy
hub / github.com/scrapy/scrapy / should_fail

Method should_fail

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

Source from the content-addressed store, hash-verified

273 assert not self.results.errors
274
275 def should_fail(self):
276 assert self.results.failures
277 assert not self.results.errors
278
279 def should_error(self):
280 assert self.results.errors

Callers 2

test_returnsMethod · 0.95
test_scrapesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected