Call django.setup() in test for invocations via pytest.main()
Call django.setup() in test for invocations via pytest.main()

thedrow/pytest-django,tomviner/pytest-django,pombredanne/pytest_django,ktosiek/pytest-django