web/test/unittest_views_basecontrollers.py
branchstable
changeset 6365 a15cc5e16178
parent 6340 470d8e828fda
child 6410 2e7a7b0829ed
equal deleted inserted replaced
6364:ad9ed9803eb6 6365:a15cc5e16178
   220 
   220 
   221 
   221 
   222     def test_interval_bound_constraint_success(self):
   222     def test_interval_bound_constraint_success(self):
   223         feid = self.execute('INSERT File X: X data_name "toto.txt", X data %(data)s',
   223         feid = self.execute('INSERT File X: X data_name "toto.txt", X data %(data)s',
   224                             {'data': Binary('yo')})[0][0]
   224                             {'data': Binary('yo')})[0][0]
       
   225         self.commit()
   225         req = self.request()
   226         req = self.request()
   226         req.form = {'eid': ['X'],
   227         req.form = {'eid': ['X'],
   227                     '__type:X': 'Salesterm',
   228                     '__type:X': 'Salesterm',
   228                     '_cw_edited_fields:X': 'amount-subject,described_by_test-subject',
   229                     '_cw_edited_fields:X': 'amount-subject,described_by_test-subject',
   229                     'amount-subject:X': u'-10',
   230                     'amount-subject:X': u'-10',