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

Fix the order of the test cases that use the live_server fixture

Open Perlence opened this issue 6 months ago • 0 comments
trafficstars

The live_server fixture requires transactional_db, but it does so at runtime, i.e. after the pytest_collection_modifyitems() hook is called, so it was originally sent to the last test group.

Perlence avatar Apr 28 '25 19:04 Perlence