Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pazz committed Dec 3, 2018
1 parent 1d95cf9 commit 72840b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/db/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
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
Expand Down Expand Up @@ -200,7 +199,6 @@ def _base64(unicode_string, encoding):
result = result_bytes.decode('ascii')
return result


def _test(self, teststring, expected):
actual = utils.decode_header(teststring)
self.assertEqual(actual, expected)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 72840b0

Please sign in to comment.