summaryrefslogtreecommitdiff
path: root/test/test_windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-12-15 15:19:27 +0100
committermathieui <mathieui@mathieui.net>2018-12-15 15:19:27 +0100
commite992107ecff9a2f3f1282a87bdc8edfadcd01090 (patch)
treeba8580278d4640ad9aff01bca25fdd894d7d54a0 /test/test_windows.py
parentce729114bc46898477d2cce81655e7372b9030e3 (diff)
downloadpoezio-e992107ecff9a2f3f1282a87bdc8edfadcd01090.tar.gz
poezio-e992107ecff9a2f3f1282a87bdc8edfadcd01090.tar.bz2
poezio-e992107ecff9a2f3f1282a87bdc8edfadcd01090.tar.xz
poezio-e992107ecff9a2f3f1282a87bdc8edfadcd01090.zip
I give up
on getting Link Mauve to ever run tests
Diffstat (limited to 'test/test_windows.py')
-rw-r--r--test/test_windows.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_windows.py b/test/test_windows.py
index cb7c86b7..af1b9d4a 100644
--- a/test/test_windows.py
+++ b/test/test_windows.py
@@ -9,11 +9,13 @@ config.config = ConfigShim()
from poezio.windows import Input, HistoryInput, MessageInput
+class SubInput(Input):
+ def rewrite_text(self, *args, **kwargs):
+ return None
+
@pytest.fixture
def input():
- input = Input()
- input.rewrite_text = lambda: None
- return input
+ return SubInput()
class TestInput(object):