It is actually discouraged by pytest-django[0] to run it using Django's test command. Just run `pytest` itself.
[0]: https://pytest-django.readthedocs.io/en/latest/#why-would-i-...
[0]: https://pytest-django.readthedocs.io/en/latest/#why-would-i-...
Perhaps I'm missing something obvious, but PyCharm just uses `./manage.py test` even when I've selected Py.test as the project test runner.