Update the file info dialog box

This commit is contained in:
Veronica Berglyd Olsen
2023-08-30 18:57:48 +02:00
parent f41e71199c
commit 9bf43aa40f
5 changed files with 42 additions and 21 deletions
+3 -3
View File
@@ -188,11 +188,11 @@ def testCoreDocument_Methods(monkeypatch, mockGUI, fncPath, mockRnd):
assert theDoc.readDocument() == "### New Scene\n\n"
# Check location
assert theDoc.getFileLocation() == str(docPath)
assert theDoc.fileLocation == str(docPath)
# Check the item
assert theDoc.getCurrentItem() is not None
assert theDoc.getCurrentItem().itemHandle == C.hSceneDoc # type: ignore
assert theDoc.nwItem is not None
assert theDoc.nwItem.itemHandle == C.hSceneDoc # type: ignore
# Check the meta
theName, theParent, theClass, theLayout = theDoc.getMeta()