django1/tests/migrations
Tim Graham 098c07a032 Fixed #27142, #27110 -- Made makemigrations consistency checks respect database routers.
Partially reverted refs #27054 except for one of the tests as this
solution supersedes that one.

Thanks Shai Berger for the review.
2016-09-01 16:19:29 -04:00
..
deprecated_field_migrations Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
faulty_migrations Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:30:46 -05:00
migrations_test_apps Fixed #26647 -- Included the state of all applied migrations when migrating forward. 2016-05-26 13:30:10 -04:00
related_models_app Added tests for get_related_models_recursive 2015-02-16 19:31:52 +01:00
test_add_many_to_many_field_initial Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables. 2015-12-19 13:37:24 -05:00
test_auto_now_add Fixed #25005 -- Made date and time fields with auto_now/auto_now_add use effective default. 2016-05-09 07:48:40 -04:00
test_migrations Fixed #26117 -- Consulted database routers in initial migration detection. 2016-02-25 09:56:00 -05:00
test_migrations_atomic_operation Fixed #25833 -- Added support for non-atomic migrations. 2016-02-05 09:09:05 -05:00
test_migrations_backwards_deps_1 Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations." 2014-09-24 15:49:30 -04:00
test_migrations_conflict Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_custom_user Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_empty Fixed #23359 -- Added showmigrations command to list migrations and plan. 2014-12-31 14:14:28 -05:00
test_migrations_fake_split_initial Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_first Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_initial_false Fixed #24375 -- Added Migration.initial attribute 2015-07-13 15:57:40 -04:00
test_migrations_no_ancestor Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_no_changes Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_no_default Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_migrations_non_atomic Fixed #25833 -- Added support for non-atomic migrations. 2016-02-05 09:09:05 -05:00
test_migrations_order Fixed #25239 -- Corrected makemigrations numbering if a migration has a number-only filename. 2015-08-14 07:28:37 -04:00
test_migrations_run_before Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_squashed Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
test_migrations_squashed_complex Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_squashed_complex_multi_apps Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_squashed_erroneous Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_squashed_extra Fixed #27004 -- Made migrations consistency check ignore unapplied squashed migrations. 2016-08-05 18:01:55 -04:00
test_migrations_squashed_ref_squashed Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph() 2016-05-08 13:53:26 +02:00
test_migrations_unmigdep Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 2015-07-27 18:28:13 -04:00
__init__.py Adding a dependency graph class and tests 2013-05-10 12:52:04 +01:00
models.py Refs #23822 -- Made MigrationOptimizer aware of model managers 2015-01-07 17:33:04 -05:00
routers.py Fixed #27142, #27110 -- Made makemigrations consistency checks respect database routers. 2016-09-01 16:19:29 -04:00
test_autodetector.py Fixed #26808 -- Added Meta.indexes for class-based indexes. 2016-08-05 18:12:51 -04:00
test_base.py Fixed #26117 -- Consulted database routers in initial migration detection. 2016-02-25 09:56:00 -05:00
test_commands.py Fixed #27142, #27110 -- Made makemigrations consistency checks respect database routers. 2016-09-01 16:19:29 -04:00
test_deprecated_fields.py Removed IPAddressField per deprecation timeline; refs #20439. 2015-01-19 11:12:57 -05:00
test_exceptions.py Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundError 2016-03-10 17:27:35 +11:00
test_executor.py Fixed #27044 -- Included already applied migration changes in the post-migrate state when the execution plan is empty. 2016-08-24 01:17:18 -04:00
test_graph.py Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph() 2016-05-08 13:53:26 +02:00
test_loader.py Fixed #27142, #27110 -- Made makemigrations consistency checks respect database routers. 2016-09-01 16:19:29 -04:00
test_multidb.py Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:34:09 +07:00
test_operations.py Refs #26709 -- Added index name to AddIndex.describe(). 2016-08-16 09:11:33 -04:00
test_optimizer.py Fixed #26710 -- Made CreateModel.references_model() take app_label into account. 2016-06-06 11:49:45 -04:00
test_questioner.py Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps. 2016-01-25 21:38:36 -05:00
test_state.py Fixed #26808 -- Added Meta.indexes for class-based indexes. 2016-08-05 18:12:51 -04:00
test_writer.py Fixed #26555 -- Gave deconstructible objects a higher priority during serialization 2016-05-04 22:39:19 +02:00