-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZyteItemAdapter usage in fixtures #136
Comments
Not sure what parts need to be changed for this after adding a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: