pytest-dev / pytest-django

A Django plugin for pytest.
https://pytest-django.readthedocs.io/
Other
1.4k stars 345 forks source link

A new fixture for using "real database"? #1132

Open rhoban13 opened 4 months ago

rhoban13 commented 4 months ago

The documentation indicates we can use django_db_blocker to unblock database access and enable tests to utilize a real database. Alternatively we can implement django_db_setup to use a real database.

Is it possible to add a fixture analogous to db or transactional_db to indicate "use a real external database"? Something like external_db?