Remove project path attribute from project class

This commit is contained in:
Veronica Berglyd Olsen
2022-11-06 00:39:30 +01:00
parent a75424e44b
commit 615ee2958a
7 changed files with 15 additions and 24 deletions
+2 -1
View File
@@ -649,7 +649,8 @@ def testCoreProject_OrphanedFiles(mockGUI, nwLipsum):
writeFile(tstPath, "\n")
assert theProject.openProject(nwLipsum)
assert theProject.projPath is not None
assert theProject.storage.storagePath is not None
assert theProject.storage.runtimePath is not None
assert theProject.tree["636b6aa9b697bb"] is None
assert theProject.tree["abcdefghijklm"] is None
-1
View File
@@ -166,7 +166,6 @@ def buildTestProject(theObject, projPath):
theProject = theObject.theProject
theProject.clearProject()
theProject.projPath = projPath
theProject.storage.openProjectInPlace(projPath)
theProject.setDefaultStatusImport()