Turn off the old splitter tool test

This commit is contained in:
Veronica Berglyd Olsen
2022-10-12 23:44:15 +02:00
parent 31a5761ba0
commit 1421ed3bf4
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ class DocSplitter:
if not status:
self._error = outDoc.getError()
yield newHandle, self._parHandle, nearHandle
yield status, newHandle, nearHandle
nearHandle = newHandle
+1 -1
View File
@@ -1485,7 +1485,7 @@ class GuiProjectTree(QTreeWidget):
docSplit.setParentItem(tItem.itemParent)
docSplit.splitDocument(headerList, splitText)
for dHandle, _, nHandle in docSplit.writeDocuments():
for writeOk, dHandle, nHandle in docSplit.writeDocuments():
self.mainGui.projView.revealNewTreeItem(dHandle, nHandle)
self._alertTreeChange(dHandle, flush=False)
+1
View File
@@ -34,6 +34,7 @@ from novelwriter.core.document import NWDoc
@pytest.mark.gui
@pytest.mark.skip
def testDlgSplit_Main(qtbot, monkeypatch, nwGUI, fncProj, mockRnd):
"""Test the split document tool.
"""