summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-26 14:29:59 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-26 14:29:59 +0200
commitaa0d0ccb5db7f5278b8dbeb2115a6e9bc4fb9b25 (patch)
tree81777cf1a879eb8c630673660283bed4f58c729a
parent84fcdd51c0ac9baa93e4481999cc93864beb7e60 (diff)
downloadqutebrowser-aa0d0ccb5db7f5278b8dbeb2115a6e9bc4fb9b25.tar.gz
qutebrowser-aa0d0ccb5db7f5278b8dbeb2115a6e9bc4fb9b25.zip
tests: Try increasing file_updated timeout
See https://github.com/qutebrowser/qutebrowser/issues/5390#issuecomment-631066927
-rw-r--r--tests/unit/misc/test_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_editor.py b/tests/unit/misc/test_editor.py
index edd32b5a5..5fb4478a7 100644
--- a/tests/unit/misc/test_editor.py
+++ b/tests/unit/misc/test_editor.py
@@ -167,7 +167,7 @@ class TestFileHandling:
def test_backup(self, qtbot, message_mock):
editor = editormod.ExternalEditor(watch=True)
editor.edit('foo')
- with qtbot.wait_signal(editor.file_updated):
+ with qtbot.wait_signal(editor.file_updated, timeout=5000):
_update_file(editor._filename, 'bar')
editor.backup()