summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-14 13:00:42 +0200
committermathieui <mathieui@mathieui.net>2017-10-14 13:00:42 +0200
commit225f300ef3acd04c6d2c27d833a6a3cb03bc6317 (patch)
tree670471ce3cf78d7825a16f83ab629efc9432d372 /test
parent3b5e3964699f6e5eee05ac3d62847d782a9fe135 (diff)
downloadpoezio-225f300ef3acd04c6d2c27d833a6a3cb03bc6317.tar.gz
poezio-225f300ef3acd04c6d2c27d833a6a3cb03bc6317.tar.bz2
poezio-225f300ef3acd04c6d2c27d833a6a3cb03bc6317.tar.xz
poezio-225f300ef3acd04c6d2c27d833a6a3cb03bc6317.zip
Remove some unused imports
Diffstat (limited to 'test')
-rw-r--r--test/test_completion.py1
-rw-r--r--test/test_logger.py3
-rw-r--r--test/test_poopt.py2
-rw-r--r--test/test_windows.py3
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():