From 1ac7fdcd136bbb7ae5476cb54f670be20178c4e2 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 15 Feb 2016 09:39:55 -0500 Subject: [PATCH] Refs #25304 -- Added assertion for Command.requires_migrations_checks default. --- tests/user_commands/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py index 9ce1399040..9c27fb6669 100644 --- a/tests/user_commands/tests.py +++ b/tests/user_commands/tests.py @@ -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)