MCPcopy
hub / github.com/scrapy/scrapy / should_succeed

Method should_succeed

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

Source from the content-addressed store, hash-verified

269 self.results = TextTestResult(stream=None, descriptions=False, verbosity=0)
270
271 def should_succeed(self):
272 assert not self.results.failures
273 assert not self.results.errors
274
275 def should_fail(self):
276 assert self.results.failures

Callers 6

test_cb_kwargsMethod · 0.95
test_metaMethod · 0.95
test_returnsMethod · 0.95
test_scrapesMethod · 0.95
test_regexMethod · 0.95
test_custom_contractsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected