summaryrefslogtreecommitdiff
path: root/test/test_windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-08-21 15:39:46 +0200
committermathieui <mathieui@mathieui.net>2016-08-21 15:58:07 +0200
commit5f0c0fbb0adb45407008d84dc1b6e843cd94870c (patch)
tree4bf746e3fcc5b3abddb723b1ced620e4e3ac0682 /test/test_windows.py
parent84e59b05ff0a17178da9ecdb6c5d084e48b42763 (diff)
downloadpoezio-5f0c0fbb0adb45407008d84dc1b6e843cd94870c.tar.gz
poezio-5f0c0fbb0adb45407008d84dc1b6e843cd94870c.tar.bz2
poezio-5f0c0fbb0adb45407008d84dc1b6e843cd94870c.tar.xz
poezio-5f0c0fbb0adb45407008d84dc1b6e843cd94870c.zip
Update tests
Diffstat (limited to 'test/test_windows.py')
-rw-r--r--test/test_windows.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/test_windows.py b/test/test_windows.py
index 26a426c7..8623342b 100644
--- a/test/test_windows.py
+++ b/test/test_windows.py
@@ -1,16 +1,14 @@
import pytest
-import sys
-sys.path.append('poezio')
class ConfigShim(object):
def get(self, *args, **kwargs):
return ''
-import config
+from poezio import config
config.config = ConfigShim()
-import core
+from poezio import core
-from windows import Input, HistoryInput, MessageInput, CommandInput
+from poezio.windows import Input, HistoryInput, MessageInput, CommandInput
@pytest.fixture
def input():