Refs #25304 -- Added assertion for Command.requires_migrations_checks default.
This commit is contained in:
parent
b17a9150a0
commit
1ac7fdcd13
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue