diff options
Diffstat (limited to 'tests/db')
-rw-r--r-- | tests/db/test_envelope.py | 3 | ||||
-rw-r--r-- | tests/db/test_message.py | 3 | ||||
-rw-r--r-- | tests/db/test_thread.py | 3 | ||||
-rw-r--r-- | tests/db/test_utils.py | 2 |
4 files changed, 4 insertions, 7 deletions
diff --git a/tests/db/test_envelope.py b/tests/db/test_envelope.py index f14b8594..873f0927 100644 --- a/tests/db/test_envelope.py +++ b/tests/db/test_envelope.py @@ -19,8 +19,7 @@ import email.policy import os import tempfile import unittest - -import mock +from unittest import mock from alot.db import envelope diff --git a/tests/db/test_message.py b/tests/db/test_message.py index 6322a77e..2f7a6b8c 100644 --- a/tests/db/test_message.py +++ b/tests/db/test_message.py @@ -15,8 +15,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import unittest - -import mock +from unittest import mock from alot import account from alot.db import message diff --git a/tests/db/test_thread.py b/tests/db/test_thread.py index e3e398eb..8c78a026 100644 --- a/tests/db/test_thread.py +++ b/tests/db/test_thread.py @@ -17,8 +17,7 @@ """Tests for the alot.db.thread module.""" import datetime import unittest - -import mock +from unittest import mock from alot.db import thread diff --git a/tests/db/test_utils.py b/tests/db/test_utils.py index 59a8e5b6..ac6555c0 100644 --- a/tests/db/test_utils.py +++ b/tests/db/test_utils.py @@ -17,9 +17,9 @@ import os.path import shutil import tempfile import unittest +from unittest import mock import gpg -import mock from alot import crypto from alot.db import utils |