pytest-django icon indicating copy to clipboard operation
pytest-django copied to clipboard

pytest-django should handle MEDIA_ROOT

Open JasonGrace2282 opened this issue 1 year ago • 1 comments
trafficstars

Pytest django should redirect settings.MEDIA_ROOT automatically so that the state isn't shared between tests in the form of media. For compatibility with pytest-xdist, maybe each test run can have it's own folder, so that folders can get deleted without other tests running at the same time being effected (note: this would be io heavy)

JasonGrace2282 avatar Jun 29 '24 22:06 JasonGrace2282