1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/migrations
Nick Pope 7552de7866 Used more specific unittest assertions in tests.
* assertIsNone()/assertIsNotNone() instead of comparing to None.
* assertLess() for < comparisons.
* assertIs() for 'is' expressions.
* assertIsInstance() for isinstance() expressions.
* rounding of assertAlmostEqual() for round() expressions.
* assertIs(..., True/False) instead of comparing to True/False.
* assertIs()/assertIsNot() for ==/!= comparisons.
* assertNotEqual() for == comparisons.
* assertTrue()/assertFalse() instead of comparing to True/False.
2019-10-29 12:37:30 +01:00
..
deprecated_field_migrations
faulty_migrations
migrations_test_apps
related_models_app
test_add_many_to_many_field_initial
test_auto_now_add
test_migrations
test_migrations_atomic_operation
test_migrations_backwards_deps_1
test_migrations_bad_pyc
test_migrations_clashing_prefix
test_migrations_conflict
test_migrations_custom_user
test_migrations_empty
test_migrations_fake_split_initial
test_migrations_first
test_migrations_initial_false
test_migrations_namespace_package Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file. 2019-10-10 08:31:41 +02:00
test_migrations_no_ancestor
test_migrations_no_changes
test_migrations_no_default
test_migrations_no_init
test_migrations_no_operations Fixed #30595 -- Added error message when no objects found to sql* management commands. 2019-07-01 13:47:54 +02:00
test_migrations_non_atomic
test_migrations_order
test_migrations_plan Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan. 2019-10-14 11:13:27 +02:00
test_migrations_private
test_migrations_run_before
test_migrations_squashed
test_migrations_squashed_complex
test_migrations_squashed_complex_multi_apps
test_migrations_squashed_erroneous
test_migrations_squashed_extra
test_migrations_squashed_ref_squashed
test_migrations_unmigdep
__init__.py
models.py
routers.py
test_autodetector.py Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk. 2019-10-14 08:02:26 +02:00
test_base.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_commands.py Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan. 2019-10-14 11:13:27 +02:00
test_deprecated_fields.py
test_exceptions.py
test_executor.py
test_graph.py
test_loader.py Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file. 2019-10-10 08:31:41 +02:00
test_multidb.py Moved migrations.test_operations.OperationTestBase to migrations.test_base. 2019-08-19 16:06:14 +02:00
test_operations.py Refs #30591 -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+. 2019-09-11 12:20:16 +02:00
test_optimizer.py
test_questioner.py
test_state.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_writer.py Refs #27914 -- Fixed serialization of nested enum.Enum classes in migrations. 2019-10-03 08:39:30 +02:00