Running the whole test suite (~135 tests) for django-new takes around 20 seconds. Trying out the new to me library, pyfakefs: pytest-pyfakefs.readthedocs.io.

Example test results:
- Using `tmp_path`: 0.95s
- Using `fs`: 0.17s

I'll take a 5x speed-up if I don't run into any gotchas!

Here’s what I'm following to replace tmp_path in : pytest-pyfakefs.readthedocs.io.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://indieweb.social/users/adamghill/statuses/115715334548571078 on your instance and quote it. (Note that quoting is not supported in Mastodon.)