Remove the sha256sum function for files and update tests

This commit is contained in:
Veronica Berglyd Olsen
2023-08-25 16:55:45 +02:00
parent b3fcea29da
commit 0d262c0ae8
3 changed files with 4 additions and 64 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ def testCoreDocument_LoadSave(monkeypatch, mockGUI, fncPath, mockRnd):
assert theDoc.writeDocument(theText, forceWrite=True) is True
# Force no meta data
theDoc._theItem = None
theDoc._item = None
assert theDoc.writeDocument(theText) is True
assert readFile(docPath) == theText
@@ -137,7 +137,7 @@ def testCoreDocument_LoadSave(monkeypatch, mockGUI, fncPath, mockRnd):
assert theDoc.getError() == ""
# Saving with no handle
theDoc._docHandle = None
theDoc._handle = None
assert theDoc.writeDocument(theText) is False
# Delete Document