Closed buckyroberts closed 3 years ago
Latest version of pytest fixes this.
If you are a poor developer like me coming here from Google after seeing this error from your Django test suite, add this to your pytest.ini file:
addopts = --reuse-db --create-db
source: https://dev.to/dwmedina/my-findings-for-a-pytest-django-warning-error-when-trying-to-teardown-test-databases-48a5