Move the item index into a wrapper class and combine the access functions

This commit is contained in:
Veronica Berglyd Olsen committed 2022-05-29 18:58:32 +02:00
1 parent 347d34bf83
commit 77e50a6cee
5 files changed
+440 -297

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ def testGuiViewer_Main(qtbot, monkeypatch, nwGUI, nwLipsum):
# Rebuild the index
nwGUI.mainMenu.aRebuildIndex.activate(QAction.Trigger)
assert nwGUI.theProject.index._tags != {}
assert nwGUI.theProject.index._items != {}
assert nwGUI.theProject.index._itemIndex._items != {}
# Select a document in the project tree
nwGUI.treeView.setSelectedHandle("88243afbe5ed8")