diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py index b840ef80871..e40632385cb 100644 --- a/tests/user_commands/tests.py +++ b/tests/user_commands/tests.py @@ -199,8 +199,8 @@ class CommandTests(SimpleTestCase): with mock.patch( "django.core.management.base.BaseCommand.check" ) as mocked_check: - management.call_command("specific_system_checks") - mocked_check.called_once_with(tags=[Tags.staticfiles, Tags.models]) + management.call_command("specific_system_checks", skip_checks=False) + mocked_check.assert_called_once_with(tags=[Tags.staticfiles, Tags.models]) def test_requires_system_checks_invalid(self): class Command(BaseCommand):