MCPcopy
hub / github.com/scrapy/scrapy / test_export_items_field_names

Method test_export_items_field_names

tests/test_feedexport.py:710–715  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

708
709 @coroutine_test
710 async def test_export_items_field_names(self):
711 items = [{"foo": "bar"}]
712 header = {"foo": "Foo"}
713 rows = [{"Foo": "bar"}]
714 settings = {"FEED_EXPORT_FIELDS": header}
715 await self.assertExported(items, list(header.values()), rows, settings=settings)
716
717 @coroutine_test
718 async def test_export_items_dict_field_names(self):

Callers

nothing calls this directly

Calls 2

assertExportedMethod · 0.80
valuesMethod · 0.80

Tested by

no test coverage detected