File: 0001-Increase-timeout-for-testsuite.patch

package info (click to toggle)
napari-console 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 216 kB
  • sloc: python: 235; makefile: 166
file content (21 lines) | stat: -rw-r--r-- 788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <roland.mas@entierement.net>
Date: Thu, 8 May 2025 15:48:14 +0200
Subject: Increase timeout for testsuite

---
 napari_console/_tests/test_qt_console.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/napari_console/_tests/test_qt_console.py b/napari_console/_tests/test_qt_console.py
index 45759eb..4b0569d 100644
--- a/napari_console/_tests/test_qt_console.py
+++ b/napari_console/_tests/test_qt_console.py
@@ -74,7 +74,7 @@ def test_console_focus_proxy(qtbot, make_test_viewer):
             console._control.hasFocus()
         ), "underlying QTextEdit widget never received focus"
 
-    qtbot.waitUntil(control_has_focus)
+    qtbot.waitUntil(control_has_focus, timeout=30000)
 
 
 def test_console_pass_variable(make_test_viewer, monkeypatch):