Remove some unused imports

This commit is contained in:
mathieui 2017-10-14 13:00:42 +02:00
parent 3b5e396469
commit 225f300ef3
5 changed files with 3 additions and 8 deletions

View file

@ -6,7 +6,7 @@ import logging
log = logging.getLogger(__name__)
from poezio import windows
from poezio.bookmarks import Bookmark, BookmarkList, stanza_storage
from poezio.bookmarks import Bookmark, BookmarkList
from poezio.tabs import Tab
from poezio.common import safeJID

View file

@ -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):

View file

@ -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'

View file

@ -2,8 +2,6 @@
Test of the poopt module
"""
import pytest
from poezio.poopt import cut_text
def test_cut_text():

View file

@ -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():