]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commit
Switched to `flag()` 199/head
authorJohannes Schöpp <darkdiscover@gmail.com>
Wed, 2 Mar 2022 14:07:53 +0000 (15:07 +0100)
committerJohannes Schöpp <darkdiscover@gmail.com>
Wed, 2 Mar 2022 16:48:02 +0000 (17:48 +0100)
commit0925c900478da96478866118a702b3d8ed289e3f
tree1ecd03377672b1bf604dc36b7b3f71694c060b42
parent74b94bc66ae87a960af9e9d3078c749f7d8b4194
Switched to `flag()`

Newer versions of imap_tools moved away from `seen()` in favour of
`flag()` and deprecated the former.

This fixes https://github.com/jonaswinkler/paperless-ng/issues/1672

I also remove the mocked `seen()` function and updated the `flag()` mock
src/paperless_mail/mail.py
src/paperless_mail/tests/test_mail.py