diff options
author | jso8910 <60021163+jso8910@users.noreply.github.com> | 2021-06-05 08:53:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 08:53:22 +0800 |
commit | 67e16a5a0ce82c9aa10ce748d1c698928770c465 (patch) | |
tree | 9e9ac5007de1ff5919b38c76635e3f09db34b18d /tests | |
parent | 412e428e9d2da8f85c6a3bb42fe5ac6d2fe5cb78 (diff) | |
download | qutebrowser-67e16a5a0ce82c9aa10ce748d1c698928770c465.tar.gz qutebrowser-67e16a5a0ce82c9aa10ce748d1c698928770c465.zip |
Update tests/unit/mainwindow/test_prompt.py
Co-authored-by: Florian Bruhin <me@the-compiler.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/mainwindow/test_prompt.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/unit/mainwindow/test_prompt.py b/tests/unit/mainwindow/test_prompt.py index d5ef5a363..1110e80d7 100644 --- a/tests/unit/mainwindow/test_prompt.py +++ b/tests/unit/mainwindow/test_prompt.py @@ -97,10 +97,11 @@ class TestFileCompletion: prompt.item_focus('next') assert prompt._lineedit.text() == str(testdir / 'bar') - @pytest.mark.parametrize("keys,expected", - [([], ['bar', 'bat', 'foo']), - ([Qt.Key_F], ['foo']), - ([Qt.Key_A], ['bar', 'bat'])]) + @pytest.mark.parametrize("keys, expected", [ + ([], ['bar', 'bat', 'foo']), + ([Qt.Key_F], ['foo']), + ([Qt.Key_A], ['bar', 'bat']), + ]) def test_filtering_path(self, qtbot, tmp_path, get_prompt, keys, expected): testdir = tmp_path / 'test' |