diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-07-13 10:29:26 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-07-13 10:29:26 +0200 |
commit | 84f9e9f86317609f89b78cf99d5a97643e914c99 (patch) | |
tree | 97aa0829fcc0855bc882ac48de2979964586744d /tests | |
parent | 38092895810ed22ed69b9ecc432277d7d9f611dc (diff) | |
download | qutebrowser-84f9e9f86317609f89b78cf99d5a97643e914c99.tar.gz qutebrowser-84f9e9f86317609f89b78cf99d5a97643e914c99.zip |
Fix lint/docs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/mainwindow/test_prompt.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/mainwindow/test_prompt.py b/tests/unit/mainwindow/test_prompt.py index 055e5b665..5b774bdaa 100644 --- a/tests/unit/mainwindow/test_prompt.py +++ b/tests/unit/mainwindow/test_prompt.py @@ -80,6 +80,8 @@ class TestFileCompletion: with qtbot.wait_signal(prompt._file_model.directoryLoaded): for _ in range(3): qtbot.keyPress(prompt._lineedit, Qt.Key_Backspace) + + # For some reason, this isn't always called when using qtbot.keyPress. prompt._set_fileview_root(prompt._lineedit.text()) # '..' and 'foo' should get completed from 'f' |