mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-29 20:47:58 +01:00
fix(website): fixed teardown of website widgets
This commit is contained in:
1 parent
bc264975b1
commit
a3d4f5ac4b
3 files changed
+8
-4
No files matched your search
@@ -14,9 +14,9 @@ from .client_mocks import mocked_client
|
||||
def vscode_widget(qtbot, mocked_client):
|
||||
with mock.patch("bec_widgets.widgets.vscode.vscode.subprocess.Popen") as mock_popen:
|
||||
widget = VSCodeEditor(client=mocked_client)
|
||||
# qtbot.addWidget(widget)
|
||||
qtbot.addWidget(widget)
|
||||
qtbot.waitExposed(widget)
|
||||
yield widget
|
||||
# widget.close()
|
||||
|
||||
|
||||
def test_vscode_widget(qtbot, vscode_widget):
|
||||
|
||||
Reference in new issue
Block a user