Update document viewer tests

This commit is contained in:
Veronica Berglyd Olsen
2023-11-17 16:22:59 +01:00
parent 1098354fca
commit dd05f6532a
3 changed files with 69 additions and 27 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ def testCoreProjectXML_ReadCurrent(monkeypatch, tstPaths, fncPath):
assert xmlReader.read(data, content) is False
assert xmlReader.state == XMLReadState.NOT_NWX_FILE
# Add a valid novelwriter file without a file version
# Add a valid novelWriter file without a file version
writeFile(xmlFile, "<novelWriterXML/>")
assert xmlReader.read(data, content) is False
assert xmlReader.state == XMLReadState.UNKNOWN_VERSION