mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-15 10:13:15 -05:00
Chore: mark some more tests as flaky
This commit is contained in:
parent
0d1e0bc70e
commit
9a7f95865f
@ -717,6 +717,7 @@ class TestMail(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@pytest.mark.flaky(reruns=4)
|
||||||
def test_filename_filter_inline_no_consumption(self):
|
def test_filename_filter_inline_no_consumption(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
@ -1153,6 +1154,7 @@ class TestMail(
|
|||||||
self.mailMocker.bogus_mailbox.folder.list.assert_called_once()
|
self.mailMocker.bogus_mailbox.folder.list.assert_called_once()
|
||||||
self.mailMocker._queue_consumption_tasks_mock.assert_not_called()
|
self.mailMocker._queue_consumption_tasks_mock.assert_not_called()
|
||||||
|
|
||||||
|
@pytest.mark.flaky(reruns=4)
|
||||||
@mock.patch("paperless_mail.mail.MailAccountHandler._get_correspondent")
|
@mock.patch("paperless_mail.mail.MailAccountHandler._get_correspondent")
|
||||||
def test_error_skip_mail(self, m):
|
def test_error_skip_mail(self, m):
|
||||||
def get_correspondent_fake(message, rule):
|
def get_correspondent_fake(message, rule):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user