Fix tests and minor issues

This commit is contained in:
Veronica Berglyd Olsen committed 2022-11-22 13:05:05 +01:00
1 parent 3a77228aaa
commit 4fa6329eb6
3 files changed
+9 -5

No files matched your search

@@ -93,6 +93,11 @@ def testDlgProjDetails_Dialog(qtbot, nwGUI, nwLipsum):
assert tocTree.topLevelItem(i).text(tocTab.C_PAGES) == thePages[i]
assert tocTree.topLevelItem(i).text(tocTab.C_PAGE) == thePage[i]
# Re-populate
assert tocTab._currentRoot is None
tocTab._novelValueChanged("7a992350f3eb6") # Not a root
assert tocTab._currentRoot == "b3643d0f92e32" # The actual novel root
# qtbot.stop()
# Clean Up