Add test coverage

This commit is contained in:
Veronica Berglyd Olsen
2024-07-26 00:15:14 +02:00
parent 33497bc92d
commit 7f42210f2f
@@ -225,4 +225,10 @@ def testGuiViewerPanel_Tags(qtbot, monkeypatch, caplog, nwGUI, projPath, mockRnd
projTree._alertTreeChange(hJohn, flush=False)
assert charTab.topLevelItemCount() == 1
# Update Labels
assert charTab.topLevelItem(0).text(charTab.C_IMPORT) == "New"
SHARED.project.data.itemImport.add(C.iNew, "Stuff", (100, 100, 100), "SQUARE", 0)
viewPanel.updateStatusLabels("i")
assert charTab.topLevelItem(0).text(charTab.C_IMPORT) == "Stuff"
# qtbot.stop()