mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-08-06 02:43:18 +00:00
Chore: Disables the system checks for management commands in tests and when unnecessary (#12332)
This commit is contained in:
@@ -1665,7 +1665,7 @@ class TestManagementCommand(TestCase):
|
||||
"paperless_mail.management.commands.mail_fetcher.tasks.process_mail_accounts",
|
||||
)
|
||||
def test_mail_fetcher(self, m) -> None:
|
||||
call_command("mail_fetcher")
|
||||
call_command("mail_fetcher", skip_checks=True)
|
||||
|
||||
m.assert_called_once()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user