Remove the sha256sum function for files and update tests

This commit is contained in:
Veronica Berglyd Olsen committed 2023-08-25 16:55:45 +02:00
1 parent b3fcea29da
commit 0d262c0ae8
3 files changed
+4 -64

No files matched your search

+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