Updated test

This commit is contained in:
Veronica K. B. Olsen
2020-06-27 19:56:38 +02:00
parent c0074ca269
commit e9d21db263
+1 -1
View File
@@ -391,7 +391,7 @@ def testItemEditor(qtbot, nwTempGUI, nwRef, nwTemp):
itemEdit._doClose()
# Check that the header is updated
nwGUI.docEditor.updateDocTitle("31489056e0916")
nwGUI.docEditor.updateDocInfo("31489056e0916")
assert nwGUI.docEditor.docHeader.theTitle.text() == "Novel New Chapter Just a Page"
assert not nwGUI.docEditor.setCursorLine("where?")
assert nwGUI.docEditor.setCursorLine(2)