django/tests/migrations
Shai Berger 437e0ba533 [1.11.x] Fixed #25192 -- Fixed squashmigrations crash with RunPython.noop on Python 2.
Thanks Adam Johnson for review.
2017-01-31 08:02:18 -05: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 #27507 -- Used SchemaEditor.execute() to run deferred_sql in migrate's sync_apps(). 2016-11-29 20:00:16 -05: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_squash_noop [1.11.x] Fixed #25192 -- Fixed squashmigrations crash with RunPython.noop on Python 2. 2017-01-31 08:02:18 -05: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
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 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
test_base.py [1.11.x] Removed unused variables that are overwritten. 2017-01-25 09:15:36 -05:00
test_commands.py [1.11.x] Fixed #25192 -- Fixed squashmigrations crash with RunPython.noop on Python 2. 2017-01-31 08:02:18 -05: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 test isolation in a couple migrations tests. 2017-01-09 08:02:09 -05:00
test_graph.py Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
test_loader.py Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. 2016-09-17 15:44:06 -04:00
test_multidb.py Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
test_operations.py Made contenttypes and auth apps unavailable when not necessary in tests. 2017-01-13 08:50:03 -05:00
test_optimizer.py [1.11.x] Simplified tests with assertDoesNotOptimize(). 2017-01-25 13:53:05 -05: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 Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
test_writer.py Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00