Add test coverage
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user