[test] must now commit file creation since the later ValidationError trigger a rollback
--- a/web/test/unittest_views_basecontrollers.py Wed Sep 29 12:54:35 2010 +0200
+++ b/web/test/unittest_views_basecontrollers.py Wed Sep 29 14:22:12 2010 +0200
@@ -222,6 +222,7 @@
def test_interval_bound_constraint_success(self):
feid = self.execute('INSERT File X: X data_name "toto.txt", X data %(data)s',
{'data': Binary('yo')})[0][0]
+ self.commit()
req = self.request()
req.form = {'eid': ['X'],
'__type:X': 'Salesterm',