django_db, my test functions access a database called 'test_postgres' created for the tests. @pytest.mark.django_db def test_example(): from django.db import ...
確定! 回上一頁