Some assets here can be (re-)created automatically, by setting the env var CDX_TEST_RECREATE_SNAPSHOTS=1
.
It might also help to set PYTHONHASHSEED=0
!
As a shortcut just run:
CDX_TEST_RECREATE_SNAPSHOTS=1 poetry run tox -e py
The files will be written as is, which might not be human-readable. feel free to reformat the files manually.