Closed borisliao closed 2 years ago
Describe what needs to be changed. Currently test_database.py creates records on the production database.
Describe the proposed changes When testing, mock a database and check the response.
Additional context https://github.com/spulec/moto
Originally posted by @Exsects in https://github.com/mbox-contributors/mbox/issues/142#issuecomment-877543085
Describe what needs to be changed. Currently test_database.py creates records on the production database.
Describe the proposed changes When testing, mock a database and check the response.
Additional context https://github.com/spulec/moto
Originally posted by @Exsects in https://github.com/mbox-contributors/mbox/issues/142#issuecomment-877543085