summaryrefslogtreecommitdiff
path: root/tests/model_options/test_tablespaces.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2018-12-15Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks ↵Simon Charette
are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review.
2017-06-21Refs #25530 -- Tracked references of deferred SQL statements.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-23Replaced DatabaseCreation sql methods by schema editor equivalentsClaude Paroz
Also used schema editor in migrate to sync unmigrated apps (sync_apps). Refs #22340. Thanks Tim Graham for the review.
2014-06-11Created a new tests folder (`model_options`).Moayad Mardini
And moved `tablespaces` option tests to it. The new folder can be used to test models/options, like the new option added in refs #22778.