django/tests/migrations
Moayad Mardini a59870e217 [1.7.x] Fixed #22676 -- makemigrations --dry-run should not ask for defaults
Made the fix in InteractiveMigrationQuestioner class code, rather than
MigrationAutodetector, because --dry-run shouldn't affect whether
MigrationAutodetector will detect non-nullable fields, but the
questioner should skip the question and returns a None for default
(since that won't be used anyway) if --dry-run is used.

Backport of ee14961a2a from master
2014-05-24 09:56:43 -04:00
..
faulty_migrations Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
migrations_test_apps Removed superfluous models.py files. 2013-12-17 11:16:48 +01:00
test_migrations [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_migrations_2 [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_migrations_conflict [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_migrations_custom_user [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_migrations_no_ancestor [1.7.x] Fixed #22602 -- Improved code coverage of makemigrations command tests. 2014-05-23 08:07:58 -04:00
test_migrations_no_changes [1.7.x] Fixed #22602 -- Improved code coverage of makemigrations command tests. 2014-05-23 08:07:58 -04:00
test_migrations_no_default [1.7.x] Fixed #22676 -- makemigrations --dry-run should not ask for defaults 2014-05-24 09:56:43 -04:00
test_migrations_squashed [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_migrations_unmigdep [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
__init__.py Adding a dependency graph class and tests 2013-05-10 12:52:04 +01:00
models.py [1.7.x] Fixed #22447 -- Make sure custom model bases can be migrated. 2014-04-29 10:55:45 -04:00
test_autodetector.py [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_base.py Ensure cursors are closed when no longer needed. 2014-02-02 12:47:21 -05:00
test_commands.py [1.7.x] Fixed #22676 -- makemigrations --dry-run should not ask for defaults 2014-05-24 09:56:43 -04:00
test_executor.py [1.7.x] Tests for #22325 2014-05-08 21:49:09 -07:00
test_graph.py Fix graph tests 2013-05-30 17:56:53 +01:00
test_loader.py [1.7.x] Fixed #22485: Include all unmigrated apps in project state by default. 2014-04-30 12:26:11 -07:00
test_operations.py [1.7.x] Skipped a migrations test that's not supported on MySQL + Python 3. 2014-05-21 07:04:46 -04:00
test_optimizer.py [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
test_state.py [1.7.x] flake8 fixes. 2014-04-30 18:35:40 -04:00
test_writer.py [1.7.x] Fixed tuple serialization test. 2014-05-23 14:51:22 +02:00