Index: main/waeup.kofa/trunk/src/waeup/kofa/tests/test_imagestorage.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/tests/test_imagestorage.py	(revision 9217)
+++ main/waeup.kofa/trunk/src/waeup/kofa/tests/test_imagestorage.py	(revision 9283)
@@ -274,5 +274,5 @@
     def test_default_handler_create_file(self):
         # we can use the default handler to store files
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         result = fs.createFile('sample.txt', StringIO('sample text'))
         self.assertEqual(result.data, 'sample.txt')
@@ -282,5 +282,5 @@
     def test_default_handler_get_file(self):
         # we can get files stored by the default handler
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         fs.createFile('sample.txt', StringIO('sample text'))
         result1 = fs.getFile('sample.txt')
@@ -292,5 +292,5 @@
     def test_customized_handler_create_file(self):
         # we can use registered filename handlers
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         result = fs.createFile(
             '__MYMARKER__sample.txt', StringIO('sample text'))
@@ -302,5 +302,5 @@
         # when we create a file of img type, the filename ext is taken
         # from input file.
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         result = fs.createFile(
             '__MYMARKER__sample_img.png', StringIO('sample text'))
@@ -312,5 +312,5 @@
         # we consider registered filename handlers when asking for
         # stored files.
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         fs.createFile('__MYMARKER__sample.txt', StringIO('sample text'))
         result1 = fs.getFile('__MYMARKER__sample.txt')
@@ -325,10 +325,10 @@
         # if we register a file name chooser, we can also get a file
         # by context and attribute
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         context = CustomContext()
         file_id1 = IFileStoreNameChooser(context).chooseName()
         file_id2 = IFileStoreNameChooser(context).chooseName(attr='img')
         file_id3 = IFileStoreNameChooser(context).chooseName(attr='doc')
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         # create three files for a single context, each which
         # different content
@@ -365,5 +365,5 @@
     def test_delete_file(self):
         # we can remove stored files from storage
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         # First, we store a file in file store
         fs.createFile('sample.txt', StringIO('sample text'))
@@ -380,10 +380,10 @@
         # if we register a file name chooser, we can also delete a file
         # by context and attribute
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         context = CustomContext()
         file_id1 = IFileStoreNameChooser(context).chooseName()
         file_id2 = IFileStoreNameChooser(context).chooseName(attr='img')
         file_id3 = IFileStoreNameChooser(context).chooseName(attr='doc')
-        fs = ExtFileStore()
+        fs = ExtFileStore(root=self.workdir)
         # create three files for a single context, each which
         # different content
