Commit e4b8fd4b authored by Grégory Wisniewski's avatar Grégory Wisniewski

Importation test need the temp directory, use the good one.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1248 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1887c5d7
...@@ -64,7 +64,7 @@ class ImportExportTests(NEOFunctionalTest): ...@@ -64,7 +64,7 @@ class ImportExportTests(NEOFunctionalTest):
self.__checkTree(tree.left, depth) self.__checkTree(tree.left, depth)
def __getDataFS(self, reset=False): def __getDataFS(self, reset=False):
name = os.path.join(self.temp_dir, 'data.fs') name = os.path.join(self.getTempDirectory(), 'data.fs')
if reset and os.path.exists(name): if reset and os.path.exists(name):
os.remove(name) os.remove(name)
storage = FileStorage(file_name=name) storage = FileStorage(file_name=name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment