Update tests

This commit is contained in:
Veronica K. B. Olsen
2021-03-22 18:39:25 +01:00
parent 7dc184f05f
commit 5ab32326c1
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ def testGuiMenu_Insert(qtbot, monkeypatch, nwGUI, fncDir, fncProj):
assert nwGUI.treeView._getTreeItem("0e17daca5f3e1") is not None
nwGUI.setFocus(1)
nwGUI.switchFocus(1)
nwGUI.treeView.clearSelection()
nwGUI.treeView._getTreeItem("0e17daca5f3e1").setSelected(True)
assert nwGUI.openSelectedItem()