MCPcopy
hub / github.com/scrapy/scrapy / DemoItem

Class DemoItem

tests/test_contracts.py:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class DemoItem(Item):
24 name = Field()
25 url = Field()
26
27
28class ResponseMock:

Callers 10

returns_itemMethod · 0.85
returns_failMethod · 0.85
scrapes_item_okMethod · 0.85
scrapes_item_failMethod · 0.85
returns_item_metaMethod · 0.85
parse_firstMethod · 0.85
parse_secondMethod · 0.85

Calls 1

FieldClass · 0.90

Tested by 10

returns_itemMethod · 0.68
returns_failMethod · 0.68
scrapes_item_okMethod · 0.68
scrapes_item_failMethod · 0.68
returns_item_metaMethod · 0.68
parse_firstMethod · 0.68
parse_secondMethod · 0.68