diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_completion.py | 1 | ||||
-rw-r--r-- | test/test_logger.py | 3 | ||||
-rw-r--r-- | test/test_poopt.py | 2 | ||||
-rw-r--r-- | test/test_windows.py | 3 |
4 files changed, 2 insertions, 7 deletions
diff --git a/test/test_completion.py b/test/test_completion.py index e3d7b950..4c5bc400 100644 --- a/test/test_completion.py +++ b/test/test_completion.py @@ -5,7 +5,6 @@ Test the completions methods on an altered input object. import string import pytest import random -import os class ConfigShim(object): def get(self, *args, **kwargs): diff --git a/test/test_logger.py b/test/test_logger.py index d0e2a89b..b2f7c335 100644 --- a/test/test_logger.py +++ b/test/test_logger.py @@ -2,8 +2,7 @@ Test the functions in the `logger` module """ -import pytest -from poezio.logger import LogInfo, LogMessage, parse_log_line +from poezio.logger import LogMessage, parse_log_line def test_parse_message(): line = 'MR 20170909T09:09:09Z 000 <nick> body' diff --git a/test/test_poopt.py b/test/test_poopt.py index 54d0c918..0ad8f8c7 100644 --- a/test/test_poopt.py +++ b/test/test_poopt.py @@ -2,8 +2,6 @@ Test of the poopt module """ -import pytest - from poezio.poopt import cut_text def test_cut_text(): diff --git a/test/test_windows.py b/test/test_windows.py index 8623342b..cb7c86b7 100644 --- a/test/test_windows.py +++ b/test/test_windows.py @@ -6,9 +6,8 @@ class ConfigShim(object): from poezio import config config.config = ConfigShim() -from poezio import core -from poezio.windows import Input, HistoryInput, MessageInput, CommandInput +from poezio.windows import Input, HistoryInput, MessageInput @pytest.fixture def input(): |