diff --git a/tests/test_project.py b/tests/test_project.py index 2354fa08..834af196 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -314,3 +314,10 @@ def testDocMeta(nwDummy, nwLipsum): assert thePath[2] == "b3643d0f92e32" assert theClass == nwItemClass.NOVEL assert theLayout == nwItemLayout.SCENE + + aDoc.docMeta = "too_short" + theMeta, thePath, theClass, theLayout = aDoc.getMeta() + assert theMeta == "" + assert thePath == [] + assert theClass is None + assert theLayout is None