summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-01-14 11:46:11 +0100
committerLucas Hoffmann <l-m-h@web.de>2017-01-18 11:39:06 +0100
commit1808e4963e7da1b18319fdca44866dc2a71c62a0 (patch)
tree747217b535ee66fb90f5d4931fb0e8f64914d120 /tests
parent70cae61d4fa80e2090169f8cb83e69081a04f890 (diff)
Use absolute_imports from __future__
Diffstat (limited to 'tests')
-rw-r--r--tests/commands/init_test.py2
-rw-r--r--tests/db/envelop_test.py1
-rw-r--r--tests/db/thread_test.py1
-rw-r--r--tests/helper_test.py1
-rw-r--r--tests/settings/checks_test.py1
5 files changed, 6 insertions, 0 deletions
diff --git a/tests/commands/init_test.py b/tests/commands/init_test.py
index 189ffc8e..f5a37997 100644
--- a/tests/commands/init_test.py
+++ b/tests/commands/init_test.py
@@ -2,6 +2,8 @@
"""Test suite for alot.commands.__init__ module."""
+from __future__ import absolute_import
+
import argparse
import unittest
diff --git a/tests/db/envelop_test.py b/tests/db/envelop_test.py
index 1895d827..14f5fa1f 100644
--- a/tests/db/envelop_test.py
+++ b/tests/db/envelop_test.py
@@ -1,4 +1,5 @@
# encoding=utf-8
+from __future__ import absolute_import
import unittest
diff --git a/tests/db/thread_test.py b/tests/db/thread_test.py
index 7f802e15..678a5e59 100644
--- a/tests/db/thread_test.py
+++ b/tests/db/thread_test.py
@@ -15,6 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Tests for the alot.db.thread module."""
+from __future__ import absolute_import
import datetime
import unittest
diff --git a/tests/helper_test.py b/tests/helper_test.py
index e333c2f9..5a5c60da 100644
--- a/tests/helper_test.py
+++ b/tests/helper_test.py
@@ -1,6 +1,7 @@
# encoding=utf-8
"""Test suite for alot.helper module."""
+from __future__ import absolute_import
import unittest
diff --git a/tests/settings/checks_test.py b/tests/settings/checks_test.py
index 917e2438..86269c29 100644
--- a/tests/settings/checks_test.py
+++ b/tests/settings/checks_test.py
@@ -1,4 +1,5 @@
# encoding=utf-8
+from __future__ import absolute_import
import unittest