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

Skip test that cannot be ran in parallel

Open kingbuzzman opened this issue 5 months ago • 0 comments
trafficstars

There are weird tests in TestLiveServer.test_settings_before/test_settings_restored that requires xdist to not be used. Since they set a global variable, and due to how xdist works, you cannot guarantee the order or the same worker.

I'm in two minds about this... My gut tells me to remove this test.. but I want to first get your opinion.

kingbuzzman avatar Jun 05 '25 22:06 kingbuzzman