summaryrefslogtreecommitdiff
path: root/tests/db
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2018-12-02 21:10:17 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2018-12-03 08:28:32 +0000
commit72840b01429be6e7f813d588220dcc1750878797 (patch)
tree55a296c9474cfa18203454ec6205f4852b172c08 /tests/db
parent1d95cf991130df7f4d277ed2f840a397d512146d (diff)
pep8 fixes
Diffstat (limited to 'tests/db')
-rw-r--r--tests/db/utils_test.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/db/utils_test.py b/tests/db/utils_test.py
index fe4a1705..964cc3d4 100644
--- a/tests/db/utils_test.py
+++ b/tests/db/utils_test.py
@@ -20,7 +20,6 @@ import gpg
import mock
from alot import crypto
-from alot import helper
from alot.db import utils
from alot.errors import GPGProblem
from ..utilities import make_key, make_uid, TestCaseClassCleanup
@@ -200,7 +199,6 @@ class TestDecodeHeader(unittest.TestCase):
result = result_bytes.decode('ascii')
return result
-
def _test(self, teststring, expected):
actual = utils.decode_header(teststring)
self.assertEqual(actual, expected)
@@ -719,8 +717,8 @@ class TestMessageFromString(unittest.TestCase):
"""Tests for decrypted_message_from_string.
Because the implementation is that this is a wrapper around
- decrypted_message_from_file, it's not important to have a large swath of tests, just
- enough to show that things are being passed correctly.
+ decrypted_message_from_file, it's not important to have a large swath of
+ tests, just enough to show that things are being passed correctly.
"""
def test(self):