--- a/server/test/unittest_storage.py Fri Oct 05 16:54:22 2012 +0200
+++ b/server/test/unittest_storage.py Tue Sep 11 12:42:26 2012 +0200
@@ -118,7 +118,7 @@
def test_bfss_fs_importing_doesnt_touch_path(self):
self.session.transaction_data['fs_importing'] = True
filepath = osp.abspath(__file__)
- f1 = self.session.create_entity('File', data=Binary(filepath),
+ f1 = self.request().create_entity('File', data=Binary(filepath),
data_format=u'text/plain', data_name=u'foo')
self.assertEqual(self.fspath(f1), filepath)