You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As found in #134, if ZyteItemAdapter is added to ItemAdapter when the fixture is generated, like documented at https://zyte-common-items.readthedocs.io/en/latest/setup.html#configuration , the generated output.json will not contain fields that are empty, and when running the test you need to also add ZyteItemAdapter to ItemAdapter, e.g. via conftest.py. At the same time, we may want to actually emit empty fields.
The text was updated successfully, but these errors were encountered:
Not sure what parts need to be changed for this after adding a ZyteTestsItemAdapter to zyte-common-items: as web-poet doesn't use zyte-common-items itself and doesn't depend on it (but zyte-common-items depends on web-poet), it doesn't seem right to use an adapter from it to the web-poet testing code. On the other hand, zyte-common-items doesn't configure ItemAdapter, only telling the user how to do that.
As found in #134, if ZyteItemAdapter is added to ItemAdapter when the fixture is generated, like documented at https://zyte-common-items.readthedocs.io/en/latest/setup.html#configuration , the generated output.json will not contain fields that are empty, and when running the test you need to also add ZyteItemAdapter to ItemAdapter, e.g. via conftest.py. At the same time, we may want to actually emit empty fields.
The text was updated successfully, but these errors were encountered: