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

Add Django version to report header

Open joshuadavidthomas opened this issue 3 years ago • 1 comments

When pytest is run, it displays all the versions of the platform and plugins in the report header. Currently the pytest-django report header only adds the Django settings and (if found) configuration from django-configuration. It would be very useful if pytest-django also included the version of Django.

I recently had to debug an issue where I was swapping between two versions of Django and, while it is a small thing, having this info when running the tests would have been a nice DX improvement.

This should be an easy patch to write. Opening this issue to gauge interest.

(I searched the issues for a similar request, but did not find any. Apologies if this has been brought up before.)

joshuadavidthomas avatar Jan 21 '22 15:01 joshuadavidthomas

I think it would be nice!

bluetech avatar Jan 21 '22 15:01 bluetech

🎉

joshuadavidthomas avatar Oct 30 '23 19:10 joshuadavidthomas