summaryrefslogtreecommitdiff
path: root/tests/migrations/test_base.py
AgeCommit message (Collapse)Author
2019-01-10Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵Simon Charette
favor of databases.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
2017-01-26Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ↵Chillar Anand
manager.
2017-01-25Removed unused variables that are overwritten.Mads Jensen
2016-02-25Fixed #26117 -- Consulted database routers in initial migration detection.Scott Sexton
Thanks Simon Charette for help.
2015-06-02Improved isolation of applied-migrations table in migration tests.Carl Meyer
2015-02-23Made migrations tests write to a temporary directory.Aymeric Augustin
This is preferrable to writing in the current working directory because it eliminates the risk to leak unwanted files, which can result in very weird test failures. Also this will help if we ever try to run these tests concurrently.
2014-11-19Fixed #23872 -- Removed sensitivity of migrations tests to CWD.Carl Meyer
2014-09-23Called table_names instead of get_table_list in migrationsClaude Paroz
2014-06-07Fixed #22750, #22248: Model renaming now also alters field FKsAndrew Godwin
2014-02-02Ensure cursors are closed when no longer needed.Michael Manfre
This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'.
2013-08-23Fix some small errors in the testsAndrew Godwin
2013-07-25Add tests for the migrate command and fix a bug they exposedAndrew Godwin