Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Django version to report header #987

Closed
joshuadavidthomas opened this issue Jan 21, 2022 · 2 comments · Fixed by #1080
Closed

Add Django version to report header #987

joshuadavidthomas opened this issue Jan 21, 2022 · 2 comments · Fixed by #1080

Comments

@joshuadavidthomas
Copy link

joshuadavidthomas commented Jan 21, 2022

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.)

@bluetech
Copy link
Member

I think it would be nice!

@joshuadavidthomas
Copy link
Author

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants