Rename the access metods of the item class from exported to active

This commit is contained in:
Veronica Berglyd Olsen
2022-10-20 18:14:40 +02:00
parent 5ae96e4d44
commit 93a79f3605
8 changed files with 35 additions and 35 deletions
+3 -3
View File
@@ -621,9 +621,9 @@ def testGuiProjTree_ContextMenu(qtbot, monkeypatch, nwGUI, fncDir, mockRnd):
nwItem = projTree.theProject.tree[hNovelNote]
# Toggle exported flag
assert nwItem.isExported is True
projTree._toggleItemExported(hNovelNote)
assert nwItem.isExported is False
assert nwItem.isActive is True
projTree._toggleItemActive(hNovelNote)
assert nwItem.isActive is False
# Change item status
assert nwItem.itemStatus == "s000000"