Remove collectstatic from tests setup.

Review Request #14807 — Created Feb. 10, 2026 and submitted

Information

Djblets
release-5.x

Reviewers

We were running collectstatic as part of our test setup for djblets,
but this wasn't actually necessary, and doing so prevents usage of the
pytest-xdist plugin which is super nice for development. This change
removes it.

While in there, I also changed our pytest_report_header hook to print
the version of djblets and not print the version of django, since the
django version is already printed by the pytest-django plugin.

Ran unit tests, both with xdist and normally.

Summary ID
Remove collectstatic from tests setup.
We were running `collectstatic` as part of our test setup for djblets, but this wasn't actually necessary, and doing so prevents usage of the `pytest-xdist` plugin which is super nice for development. This change removes it. While in there, I also changed our `pytest_report_header` hook to print the version of djblets and *not* print the version of django, since the django version is already printed by the pytest-django plugin. Testing Done: Ran unit tests, both with xdist and normally.
notywnxrnktxulrxnrsywxnprwqpurls
maubin
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.x (e43cb2d)