Remove some unused imports
This commit is contained in:
parent
3b5e396469
commit
225f300ef3
5 changed files with 3 additions and 8 deletions
|
@ -6,7 +6,7 @@ import logging
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
from poezio import windows
|
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.tabs import Tab
|
||||||
from poezio.common import safeJID
|
from poezio.common import safeJID
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@ Test the completions methods on an altered input object.
|
||||||
import string
|
import string
|
||||||
import pytest
|
import pytest
|
||||||
import random
|
import random
|
||||||
import os
|
|
||||||
|
|
||||||
class ConfigShim(object):
|
class ConfigShim(object):
|
||||||
def get(self, *args, **kwargs):
|
def get(self, *args, **kwargs):
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
Test the functions in the `logger` module
|
Test the functions in the `logger` module
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
from poezio.logger import LogMessage, parse_log_line
|
||||||
from poezio.logger import LogInfo, LogMessage, parse_log_line
|
|
||||||
|
|
||||||
def test_parse_message():
|
def test_parse_message():
|
||||||
line = 'MR 20170909T09:09:09Z 000 <nick> body'
|
line = 'MR 20170909T09:09:09Z 000 <nick> body'
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
Test of the poopt module
|
Test of the poopt module
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from poezio.poopt import cut_text
|
from poezio.poopt import cut_text
|
||||||
|
|
||||||
def test_cut_text():
|
def test_cut_text():
|
||||||
|
|
|
@ -6,9 +6,8 @@ class ConfigShim(object):
|
||||||
|
|
||||||
from poezio import config
|
from poezio import config
|
||||||
config.config = ConfigShim()
|
config.config = ConfigShim()
|
||||||
from poezio import core
|
|
||||||
|
|
||||||
from poezio.windows import Input, HistoryInput, MessageInput, CommandInput
|
from poezio.windows import Input, HistoryInput, MessageInput
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def input():
|
def input():
|
||||||
|
|
Loading…
Reference in a new issue