Check that content path exists before returning it from storage class (#1317)
This commit is contained in:
2 files changed
+10
-1
No files matched your search
@@ -469,6 +469,7 @@ def testCoreTree_ToCFile(monkeypatch, mockGUI, mockItems, tmpPath):
|
||||
assert theTree.writeToCFile() is False
|
||||
|
||||
theProject._storage._runtimePath = tmpPath
|
||||
(tmpPath / "content").mkdir()
|
||||
assert theTree.writeToCFile() is True
|
||||
|
||||
pathA = str(Path("content") / "c000000000001.nwd")
|
||||
|
||||
Reference in new issue
Block a user