├── .dev └── scripts │ └── ci-mysql-setup-integration-tests.sh ├── .editorconfig ├── .github ├── dependabot.yml └── workflows │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── django_test_app ├── django_test_app │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── main_app │ ├── __init__.py │ ├── apps.py │ ├── logic │ │ ├── __init__.py │ │ └── pure │ │ │ ├── __init__.py │ │ │ └── migrations.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_someitem_is_clean.py │ │ ├── 0003_update_is_clean.py │ │ ├── 0004_auto_20191119_2125.py │ │ ├── 0005_auto_20200329_1118.py │ │ └── __init__.py │ ├── models.py │ └── views.py └── manage.py ├── django_test_migrations ├── __init__.py ├── checks │ ├── __init__.py │ ├── autonames.py │ └── database_configuration.py ├── constants.py ├── contrib │ ├── __init__.py │ ├── django_checks.py │ ├── pytest_plugin.py │ └── unittest_case.py ├── db │ ├── __init__.py │ ├── backends │ │ ├── __init__.py │ │ ├── base │ │ │ ├── __init__.py │ │ │ └── configuration.py │ │ ├── exceptions.py │ │ ├── mysql │ │ │ ├── __init__.py │ │ │ └── configuration.py │ │ ├── postgresql │ │ │ ├── __init__.py │ │ │ └── configuration.py │ │ └── registry.py │ └── checks │ │ ├── __init__.py │ │ └── statement_timeout.py ├── exceptions.py ├── logic │ ├── __init__.py │ ├── datetime.py │ └── migrations.py ├── migrator.py ├── plan.py ├── py.typed ├── signals.py ├── sql.py └── types.py ├── docker-compose.yml ├── poetry.lock ├── pyproject.toml ├── setup.cfg └── tests ├── conftest.py ├── test_checks └── test_autonames.py ├── test_contrib ├── test_django_checks │ └── test_autonames_check.py ├── test_pytest_plugin │ ├── __init__.py │ ├── test_plugin.py │ ├── test_pytest_plugin_direct.py │ ├── test_pytest_plugin_reverse.py │ └── test_signals.py └── test_unittest_case │ ├── __init__.py │ ├── test_signals.py │ └── test_unittest_case.py ├── test_db ├── test_backends │ ├── test_exceptions.py │ ├── test_mysql │ │ ├── __init__.py │ │ └── test_configuration.py │ ├── test_postgresql │ │ ├── __init__.py │ │ └── test_configuration.py │ └── test_registry.py └── test_checks │ └── test_statement_timeout_check.py ├── test_exceptions └── test_migration_not_found.py ├── test_logic ├── test_datetime.py └── test_migrations.py ├── test_migrator └── test_migrator.py ├── test_plan ├── conftest.py ├── test_all_migrations.py └── test_truncate_plan.py └── test_sql ├── test_drop_models_table.py └── test_flush_utils.py /.dev/scripts/ci-mysql-setup-integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/.dev/scripts/ci-mysql-setup-integration-tests.sh -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/README.md -------------------------------------------------------------------------------- /django_test_app/django_test_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/django_test_app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/django_test_app/settings.py -------------------------------------------------------------------------------- /django_test_app/django_test_app/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/django_test_app/urls.py -------------------------------------------------------------------------------- /django_test_app/django_test_app/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/django_test_app/wsgi.py -------------------------------------------------------------------------------- /django_test_app/main_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/main_app/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/apps.py -------------------------------------------------------------------------------- /django_test_app/main_app/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/main_app/logic/pure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/main_app/logic/pure/migrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/logic/pure/migrations.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/migrations/0001_initial.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/0002_someitem_is_clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/migrations/0002_someitem_is_clean.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/0003_update_is_clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/migrations/0003_update_is_clean.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/0004_auto_20191119_2125.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/migrations/0004_auto_20191119_2125.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/0005_auto_20200329_1118.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/migrations/0005_auto_20200329_1118.py -------------------------------------------------------------------------------- /django_test_app/main_app/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_app/main_app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/main_app/models.py -------------------------------------------------------------------------------- /django_test_app/main_app/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render # noqa: F401 2 | -------------------------------------------------------------------------------- /django_test_app/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_app/manage.py -------------------------------------------------------------------------------- /django_test_migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/checks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/checks/autonames.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/checks/autonames.py -------------------------------------------------------------------------------- /django_test_migrations/checks/database_configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/checks/database_configuration.py -------------------------------------------------------------------------------- /django_test_migrations/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/constants.py -------------------------------------------------------------------------------- /django_test_migrations/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/contrib/django_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/contrib/django_checks.py -------------------------------------------------------------------------------- /django_test_migrations/contrib/pytest_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/contrib/pytest_plugin.py -------------------------------------------------------------------------------- /django_test_migrations/contrib/unittest_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/contrib/unittest_case.py -------------------------------------------------------------------------------- /django_test_migrations/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/db/backends/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/__init__.py -------------------------------------------------------------------------------- /django_test_migrations/db/backends/base/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/db/backends/base/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/base/configuration.py -------------------------------------------------------------------------------- /django_test_migrations/db/backends/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/exceptions.py -------------------------------------------------------------------------------- /django_test_migrations/db/backends/mysql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/db/backends/mysql/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/mysql/configuration.py -------------------------------------------------------------------------------- /django_test_migrations/db/backends/postgresql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/db/backends/postgresql/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/postgresql/configuration.py -------------------------------------------------------------------------------- /django_test_migrations/db/backends/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/backends/registry.py -------------------------------------------------------------------------------- /django_test_migrations/db/checks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/db/checks/statement_timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/db/checks/statement_timeout.py -------------------------------------------------------------------------------- /django_test_migrations/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/exceptions.py -------------------------------------------------------------------------------- /django_test_migrations/logic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/logic/datetime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/logic/datetime.py -------------------------------------------------------------------------------- /django_test_migrations/logic/migrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/logic/migrations.py -------------------------------------------------------------------------------- /django_test_migrations/migrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/migrator.py -------------------------------------------------------------------------------- /django_test_migrations/plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/plan.py -------------------------------------------------------------------------------- /django_test_migrations/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /django_test_migrations/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/signals.py -------------------------------------------------------------------------------- /django_test_migrations/sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/sql.py -------------------------------------------------------------------------------- /django_test_migrations/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/django_test_migrations/types.py -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/setup.cfg -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_checks/test_autonames.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_checks/test_autonames.py -------------------------------------------------------------------------------- /tests/test_contrib/test_django_checks/test_autonames_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_django_checks/test_autonames_check.py -------------------------------------------------------------------------------- /tests/test_contrib/test_pytest_plugin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_contrib/test_pytest_plugin/test_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_pytest_plugin/test_plugin.py -------------------------------------------------------------------------------- /tests/test_contrib/test_pytest_plugin/test_pytest_plugin_direct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_pytest_plugin/test_pytest_plugin_direct.py -------------------------------------------------------------------------------- /tests/test_contrib/test_pytest_plugin/test_pytest_plugin_reverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_pytest_plugin/test_pytest_plugin_reverse.py -------------------------------------------------------------------------------- /tests/test_contrib/test_pytest_plugin/test_signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_pytest_plugin/test_signals.py -------------------------------------------------------------------------------- /tests/test_contrib/test_unittest_case/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_contrib/test_unittest_case/test_signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_unittest_case/test_signals.py -------------------------------------------------------------------------------- /tests/test_contrib/test_unittest_case/test_unittest_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_contrib/test_unittest_case/test_unittest_case.py -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_db/test_backends/test_exceptions.py -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_mysql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_mysql/test_configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_db/test_backends/test_mysql/test_configuration.py -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_postgresql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_postgresql/test_configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_db/test_backends/test_postgresql/test_configuration.py -------------------------------------------------------------------------------- /tests/test_db/test_backends/test_registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_db/test_backends/test_registry.py -------------------------------------------------------------------------------- /tests/test_db/test_checks/test_statement_timeout_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_db/test_checks/test_statement_timeout_check.py -------------------------------------------------------------------------------- /tests/test_exceptions/test_migration_not_found.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_exceptions/test_migration_not_found.py -------------------------------------------------------------------------------- /tests/test_logic/test_datetime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_logic/test_datetime.py -------------------------------------------------------------------------------- /tests/test_logic/test_migrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_logic/test_migrations.py -------------------------------------------------------------------------------- /tests/test_migrator/test_migrator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_migrator/test_migrator.py -------------------------------------------------------------------------------- /tests/test_plan/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_plan/conftest.py -------------------------------------------------------------------------------- /tests/test_plan/test_all_migrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_plan/test_all_migrations.py -------------------------------------------------------------------------------- /tests/test_plan/test_truncate_plan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_plan/test_truncate_plan.py -------------------------------------------------------------------------------- /tests/test_sql/test_drop_models_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_sql/test_drop_models_table.py -------------------------------------------------------------------------------- /tests/test_sql/test_flush_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wemake-services/django-test-migrations/HEAD/tests/test_sql/test_flush_utils.py --------------------------------------------------------------------------------