mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-13 13:04:05 +01:00
test cleanup add mocked client
This commit is contained in:
1 parent
53fe1ac63d
commit
ee6fd5fb9e
1 file changed
+2
-2
@@ -57,9 +57,9 @@ class TestDeviceManagerViewDialogs:
|
||||
"""Test class for DeviceManagerView dialog interactions."""
|
||||
|
||||
@pytest.fixture
|
||||
def mock_dm_view(self, qtbot):
|
||||
def mock_dm_view(self, qtbot, mocked_client):
|
||||
"""Fixture for DeviceManagerView."""
|
||||
widget = DeviceManagerDisplayWidget()
|
||||
widget = DeviceManagerDisplayWidget(client=mocked_client)
|
||||
qtbot.addWidget(widget)
|
||||
qtbot.waitExposed(widget)
|
||||
yield widget
|
||||
|
||||
Reference in new issue
Block a user