0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

test: register all widgets with qtbot and close them

This commit is contained in:
2024-07-28 13:03:34 +02:00
committed by wyzula_j
parent 7616ca0e14
commit 73cd11e472
10 changed files with 23 additions and 9 deletions

View File

@ -8,6 +8,7 @@ from bec_widgets.utils import bec_dispatcher as bec_dispatcher_module
@pytest.fixture(autouse=True)
def qapplication(qapp): # pylint: disable=unused-argument
yield
qapp.processEvents() # make sure all events are processed before shutting down
@pytest.fixture(autouse=True)