Azure-Samples / azure-django-postgres-flexible-aca

Web app using Python Django backend, set up for deployment to Azure Container Apps with Azure PostgreSQL Flexible Server.
MIT License
17 stars 31 forks source link

Remove settings call from Pytest.ini #22

Closed kjaymiller closed 1 year ago

kjaymiller commented 1 year ago

https://github.com/Azure-Samples/azure-django-postgres-aca/blob/bc3d0e201a25a25129fd456a047b4c4dfa636391/demo-code/pytest.ini#LL2-L2C42

This setting could potentially cause PyTest to attempt to use a production DB to test and should be removed.

The settings should be set manually in testing or via environment variable.

kjaymiller commented 1 year ago

was not added during the tutorial process.