django/tests/migrations
Simon Charette e4c0878b30 Refs #22875 -- Fixed an optimizer test to use a valid scenario.
An explicit intermediary many-to-many relationship must declare forward and
reverse foreign keys. The original issue was in the autodetector as these
operations shouldn't have been generated in this order in the first place
which is tested by AutodetectorTests.test_create_with_through_model.
2018-07-10 16:47:57 -04:00
..
deprecated_field_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01: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 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01: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 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_auto_now_add Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_atomic_operation Fixed #28386 -- Made operations within non-atomic migrations honor the operation's atomic flag when migrating backwards. 2017-08-10 19:21:14 -04:00
test_migrations_backwards_deps_1 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_bad_pyc Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
test_migrations_conflict Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_custom_user Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01: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 #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_first Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_initial_false Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_no_ancestor Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_changes Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_default Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_init Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py. 2018-01-31 09:36:36 -05:00
test_migrations_non_atomic Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_order Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_run_before Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_complex Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_complex_multi_apps Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_erroneous Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_extra Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_ref_squashed Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_unmigdep Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
__init__.py
models.py Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
routers.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
test_autodetector.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_base.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_commands.py Fixed #29518 -- Added validation for sqlmigrate's app_label argument. 2018-06-25 10:43:12 -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 Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
test_graph.py Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). 2018-05-09 11:40:28 -04:00
test_loader.py Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
test_multidb.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
test_operations.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_optimizer.py Refs #22875 -- Fixed an optimizer test to use a valid scenario. 2018-07-10 16:47:57 -04:00
test_questioner.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_state.py Fixed #11964 -- Added support for database check constraints. 2018-07-10 15:32:33 -04:00
test_writer.py Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset. 2018-07-09 16:33:36 -04:00