diff options
author | mathieui <mathieui@mathieui.net> | 2018-12-15 15:19:27 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-12-15 15:19:27 +0100 |
commit | e992107ecff9a2f3f1282a87bdc8edfadcd01090 (patch) | |
tree | ba8580278d4640ad9aff01bca25fdd894d7d54a0 /test/test_completion.py | |
parent | ce729114bc46898477d2cce81655e7372b9030e3 (diff) | |
download | poezio-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_completion.py')
-rw-r--r-- | test/test_completion.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/test/test_completion.py b/test/test_completion.py index 4c5bc400..620b5658 100644 --- a/test/test_completion.py +++ b/test/test_completion.py @@ -15,13 +15,19 @@ config.config = ConfigShim() from poezio.windows import Input +class SubInput(Input): + def resize(self, *args, **kwargs): + pass + def rewrite_text(self, *args, **kwargs): + pass + def refresh(self, *args, **kwargs): + pass + + @pytest.fixture(scope="function") def input_obj(): - obj = Input() + obj = SubInput() obj.reset_completion() - obj.resize = lambda: None - obj.rewrite_text = lambda: None - obj.refresh = lambda: None return obj @pytest.fixture(scope="module") |