Refs #25304 -- Added assertion for Command.requires_migrations_checks default.

This commit is contained in:
Tim Graham 2016-02-15 09:39:55 -05:00
parent b17a9150a0
commit 1ac7fdcd13
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ class CommandTests(SimpleTestCase):
def test_check_migrations(self):
requires_migrations_checks = dance.Command.requires_migrations_checks
self.assertEqual(requires_migrations_checks, False)
try:
with mock.patch.object(BaseCommand, 'check_migrations') as check_migrations:
management.call_command('dance', verbosity=0)