Flashes Home Search Notifications Sign in Post
Niko Föhr @fohrloop.com · Dec 14

Looks like a library that could be useful when writing unit tests! It's for creating and updating inline snapshots in tests. #python #pytest #pythontesting #unittests

0 likes 1 replies

?

Replies

Hynek Schlawack · Dec 14

it is, but it's much more useful for complex structures. primary use-case are dicts coming from web APIs. Think: `assert snapshot() == response.json()`

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store