Relative Content

Tag Archive for pythondjangounit-testingazure-storagelabel-studio

Find SQLite 3 database location in Django project unit tests

I am trying to add more tests for this the Django project. I am struggling to load the SQLite database and debug. A easy way to debug would be to access the SQLite 3 database during testing. How do I find SQLite 3 database location in Django project unit tests and see if my endpoints are being tested as I expect?

Find SQLite3 database location in Django project unit tests

I am trying to add more tests for this django project. I am struggling to load SQLite database and debug. A easy way to debug would be accessing the SQLite3 database during testing. How do I find SQLite3 database location in Django project unit tests and see if my endpoints are being tested as I expect?
For example, the contest.py has