Move the tags index into a wrapper class

This commit is contained in:
Veronica Berglyd Olsen
2022-05-29 19:24:41 +02:00
parent 77e50a6cee
commit d1b32f1ba1
3 changed files with 107 additions and 38 deletions
+1 -1
View File
@@ -47,7 +47,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._tagsIndex._tags != {}
assert nwGUI.theProject.index._itemIndex._items != {}
# Select a document in the project tree