[Answer]-Django functional testing with selenium database creation

1đź‘Ť

âś…

As you can read in the original doc: https://docs.djangoproject.com/en/dev/topics/testing/overview/#the-test-database

Tests that require a database (namely, model tests) will not use your “real” (production) database. Separate, blank databases are created for the tests.

Regardless of whether the tests pass or fail, the test databases are destroyed when all the tests have been executed.

Leave a comment