Try adding deleteLater to i18n test
This commit is contained in:
@@ -64,6 +64,8 @@ def testGuiI18n_Localisation(qtbot, monkeypatch, language, nwGUI, projPath):
|
|||||||
qtbot.waitUntil(lambda: SHARED.findTopLevelWidget(dType) is not None, timeout=1000)
|
qtbot.waitUntil(lambda: SHARED.findTopLevelWidget(dType) is not None, timeout=1000)
|
||||||
dialog = SHARED.findTopLevelWidget(dType)
|
dialog = SHARED.findTopLevelWidget(dType)
|
||||||
assert isinstance(dialog, dType)
|
assert isinstance(dialog, dType)
|
||||||
|
assert dialog is not None
|
||||||
|
dialog.deleteLater()
|
||||||
|
|
||||||
showDialog(nwGUI.showWelcomeDialog, GuiWelcome)
|
showDialog(nwGUI.showWelcomeDialog, GuiWelcome)
|
||||||
showDialog(nwGUI.showPreferencesDialog, GuiPreferences)
|
showDialog(nwGUI.showPreferencesDialog, GuiPreferences)
|
||||||
|
|||||||
Reference in New Issue
Block a user