├── .editorconfig ├── .editorconfig-checker.json ├── .git-blame-ignore-revs ├── .github ├── dependabot.yml ├── workflows │ ├── deploy.yml │ └── main.yml └── zizmor.yml ├── .gitignore ├── .readthedocs.yml ├── AUTHORS ├── LICENSE ├── README.rst ├── codecov.yml ├── docs ├── Makefile ├── _ext │ └── pytestdocs.py ├── changelog.rst ├── conf.py ├── configuring_django.rst ├── contributing.rst ├── database.rst ├── faq.rst ├── helpers.rst ├── index.rst ├── make.bat ├── managing_python_path.rst ├── tutorial.rst └── usage.rst ├── pyproject.toml ├── pytest_django ├── __init__.py ├── asserts.py ├── django_compat.py ├── fixtures.py ├── lazy_django.py ├── live_server_helper.py ├── plugin.py ├── py.typed └── runner.py ├── pytest_django_test ├── __init__.py ├── app │ ├── __init__.py │ ├── fixtures │ │ └── items.json │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── a_file.txt │ └── views.py ├── db_helpers.py ├── db_router.py ├── settings_base.py ├── settings_mysql.py ├── settings_postgres.py ├── settings_sqlite.py ├── settings_sqlite_file.py ├── urls.py └── urls_overridden.py ├── tests ├── __init__.py ├── conftest.py ├── helpers.py ├── test_asserts.py ├── test_database.py ├── test_db_access_in_repr.py ├── test_db_setup.py ├── test_django_configurations.py ├── test_django_settings_module.py ├── test_doctest.txt ├── test_environment.py ├── test_fixtures.py ├── test_initialization.py ├── test_manage_py_scan.py ├── test_runner.py ├── test_unittest.py ├── test_urls.py └── test_without_django_loaded.py └── tox.ini /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.editorconfig -------------------------------------------------------------------------------- /.editorconfig-checker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.editorconfig-checker.json -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # Format code with Ruff 2 | 6939b232a4b204deb3464615d9868db56eb5384a 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/zizmor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.github/zizmor.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/.readthedocs.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/AUTHORS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/README.rst -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/codecov.yml -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_ext/pytestdocs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/_ext/pytestdocs.py -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/configuring_django.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/configuring_django.rst -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/contributing.rst -------------------------------------------------------------------------------- /docs/database.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/database.rst -------------------------------------------------------------------------------- /docs/faq.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/faq.rst -------------------------------------------------------------------------------- /docs/helpers.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/helpers.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/managing_python_path.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/managing_python_path.rst -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/tutorial.rst -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest_django/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/__init__.py -------------------------------------------------------------------------------- /pytest_django/asserts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/asserts.py -------------------------------------------------------------------------------- /pytest_django/django_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/django_compat.py -------------------------------------------------------------------------------- /pytest_django/fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/fixtures.py -------------------------------------------------------------------------------- /pytest_django/lazy_django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/lazy_django.py -------------------------------------------------------------------------------- /pytest_django/live_server_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/live_server_helper.py -------------------------------------------------------------------------------- /pytest_django/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/plugin.py -------------------------------------------------------------------------------- /pytest_django/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_django/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django/runner.py -------------------------------------------------------------------------------- /pytest_django_test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_django_test/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_django_test/app/fixtures/items.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/app/fixtures/items.json -------------------------------------------------------------------------------- /pytest_django_test/app/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/app/migrations/0001_initial.py -------------------------------------------------------------------------------- /pytest_django_test/app/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytest_django_test/app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/app/models.py -------------------------------------------------------------------------------- /pytest_django_test/app/static/a_file.txt: -------------------------------------------------------------------------------- 1 | bla 2 | -------------------------------------------------------------------------------- /pytest_django_test/app/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/app/views.py -------------------------------------------------------------------------------- /pytest_django_test/db_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/db_helpers.py -------------------------------------------------------------------------------- /pytest_django_test/db_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/db_router.py -------------------------------------------------------------------------------- /pytest_django_test/settings_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/settings_base.py -------------------------------------------------------------------------------- /pytest_django_test/settings_mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/settings_mysql.py -------------------------------------------------------------------------------- /pytest_django_test/settings_postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/settings_postgres.py -------------------------------------------------------------------------------- /pytest_django_test/settings_sqlite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/settings_sqlite.py -------------------------------------------------------------------------------- /pytest_django_test/settings_sqlite_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/settings_sqlite_file.py -------------------------------------------------------------------------------- /pytest_django_test/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/urls.py -------------------------------------------------------------------------------- /pytest_django_test/urls_overridden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/pytest_django_test/urls_overridden.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/helpers.py -------------------------------------------------------------------------------- /tests/test_asserts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_asserts.py -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_db_access_in_repr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_db_access_in_repr.py -------------------------------------------------------------------------------- /tests/test_db_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_db_setup.py -------------------------------------------------------------------------------- /tests/test_django_configurations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_django_configurations.py -------------------------------------------------------------------------------- /tests/test_django_settings_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_django_settings_module.py -------------------------------------------------------------------------------- /tests/test_doctest.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_doctest.txt -------------------------------------------------------------------------------- /tests/test_environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_environment.py -------------------------------------------------------------------------------- /tests/test_fixtures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_fixtures.py -------------------------------------------------------------------------------- /tests/test_initialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_initialization.py -------------------------------------------------------------------------------- /tests/test_manage_py_scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_manage_py_scan.py -------------------------------------------------------------------------------- /tests/test_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_runner.py -------------------------------------------------------------------------------- /tests/test_unittest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_unittest.py -------------------------------------------------------------------------------- /tests/test_urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_urls.py -------------------------------------------------------------------------------- /tests/test_without_django_loaded.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tests/test_without_django_loaded.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pytest-dev/pytest-django/HEAD/tox.ini --------------------------------------------------------------------------------