Upgrades black to v23, upgrades ruff
This commit is contained in:
@@ -36,7 +36,6 @@ class TestDocumentChecks(TestCase):
|
||||
@mock.patch("paperless.db.GnuPG.decrypted")
|
||||
@mock.patch("documents.models.Document.source_file")
|
||||
def test_encrypted_decrypt_fails(self, mock_decrypted, mock_source_file):
|
||||
|
||||
mock_decrypted.return_value = None
|
||||
mock_source_file.return_value = b""
|
||||
|
||||
@@ -61,7 +60,6 @@ class TestDocumentChecks(TestCase):
|
||||
)
|
||||
|
||||
def test_parser_check(self):
|
||||
|
||||
self.assertEqual(parser_check(None), [])
|
||||
|
||||
with mock.patch("documents.checks.document_consumer_declaration.send") as m:
|
||||
|
||||
Reference in New Issue
Block a user