def testLoadFilename(self): scenePath = self.getTmpScenePath() doc = Document() doc.save(scenePath) doc.new(warn=False) doc.load(scenePath, warn=False) assert doc.filename == scenePath
def testSaveAndFilename(self): scenePath = self.getTmpScenePath() doc = Document() doc.save(scenePath) assert doc.filename == scenePath