MCPcopy
hub / github.com/scrapy/scrapy / _assert_expected_item

Method _assert_expected_item

tests/test_exporters.py:73–76  ·  view source on GitHub ↗
(self, exported_dict)

Source from the content-addressed store, hash-verified

71 pass
72
73 def _assert_expected_item(self, exported_dict):
74 for k, v in exported_dict.items():
75 exported_dict[k] = to_unicode(v)
76 assert self.i == self.item_class(**exported_dict)
77
78 def _get_nonstring_types_item(self):
79 return {

Callers 3

_check_outputMethod · 0.80
_check_outputMethod · 0.80
_check_outputMethod · 0.80

Calls 3

to_unicodeFunction · 0.90
itemsMethod · 0.80
item_classMethod · 0.45

Tested by

no test coverage detected