summaryrefslogtreecommitdiff
path: root/tests/migrations/test_loader.py
AgeCommit message (Expand)Author
2026-02-25Refs #36652, #36936 -- Improved path manipulation in a migration test launchi...pmppk
2025-12-15Refs #36652 -- Avoided missing imports in a temporary file generated in a mig...Jacob Walls
2025-11-04Fixed #36652 -- Increased determinism when loading migrations from disk.Jayden Kneller
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2023-06-28Fixed RecorderTests.test_has_table_cached() on databases that perform multipl...Mariusz Felisiak
2023-05-25Made MigrationRecorder cache has_table() result if django_migrations table ex...Tom Forbes
2022-10-31Used more augmented assignment statements.Nick Pope
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-08-30Refs #24900 -- Added MigrationLoader test for applying squashed migrations.Jacob Walls
2021-08-04Fixed typos in migrations tests, comments, and error message.Jacob Walls
2021-08-04Used assertRaisesMessage() to test MigrationLoader.get_migration_by_prefix()'...Mariusz Felisiak
2020-12-31Fixed #31413 -- Fixed isolation of migrations.test_loader on databases that d...Hasan Ramezani
2020-12-29Fixed #32302 -- Allowed migrations to be loaded from regular packages with no...William Schwartz
2020-07-22Reverted "Fixed #30300 -- Allowed migrations to be loaded from directories wi...Tim Graham
2020-04-22Fixed #31499 -- Stored ModelState.fields into a dict.Simon Charette
2019-10-10Fixed #30300 -- Allowed migrations to be loaded from directories without __in...Benjy Weinberger
2019-03-07Refs #30186 -- Changed MigrationRecorder.applied_migrations() to return a dict.Tim Schilling
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in f...Simon Charette
2018-09-11Fixed #29749 -- Made the migrations loader ignore files starting with a tilde...Tim Graham
2018-06-15Fixed #29498 -- Fixed a missing pyc test file in source distribution.Tim Graham
2018-04-02Refs #23406 -- Fixed "invalid escape sequence" warning in migrations test.Jon Dufresne
2018-03-23Fixed #23406 -- Allowed migrations to be loaded from .pyc files.Dan Watson
2018-03-09Fixed #29180 -- Fixed a regression where migrations already in the plan were ...Carlton Gibson
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
2016-09-16Fixed typo in tests/migrations/test_loader.py.Tim Graham
2016-09-01Fixed #27142, #27110 -- Made makemigrations consistency checks respect databa...Tim Graham
2016-08-30Fixed #25109 -- Stopped silencing explicitly specified migration modules impo...Simon Charette
2016-08-23Fixed #27089 -- Added database alias to InconsistentMigrationHistory message.Tim Graham
2016-08-18Fixed #27054 -- Fixed makemigrations crash with a read-only database.Jim Nicholls
2016-08-05Fixed #27004 -- Made migrations consistency check ignore unapplied squashed m...Jarek Glowacki
2016-07-14Reverted "Fixed #25388 -- Added an option to allow disabling of migrations du...Tim Graham
2016-05-08Sorted migration list order in test; added trailing comma.Jarek Glowacki
2016-05-08Fixed #25945, #26292 -- Refactored MigrationLoader.build_graph()Jarek Glowacki
2016-04-05Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.Attila Tovt
2016-03-23Refs #25388 -- Used in-memory database in test_disable_migrations.Berker Peksag
2016-03-23Fixed #25388 -- Added an option to allow disabling of migrations during test ...Berker Peksag
2016-02-24Used addCleanup() to call recorder.flush() in migration loader tests.Tim Graham
2015-09-12Fixed #24919 -- Allowed disabling of migrations on a per app basisMarkus Holtermann
2015-06-02Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency.Carl Meyer
2015-05-25Fixed #24848 -- Fixed ValueError for faulty migrations module.Marten Kenbeek
2015-05-02Moved migration exception classes to shared moduleMarkus Holtermann
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Refactored tests that rely on an ImportError for Python 3.5 compatibilityTim Graham
2014-10-30Fixed #23733 -- Fixed squashing migrations that depend on multiple apps.twidi