summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-11-30 13:02:44 +0100
committerOlivier Dony <odo@openerp.com>2011-11-30 13:02:44 +0100
commit313897186c307afec4b5211f7db9df42c5f83844 (patch)
treecb295e734ba80ef0e14094929f366b4ccf39d0d3 /addons/web/static/src/xml/base.xml
parentc5c88c43c07dfb2ef2f3def2bd9441a3cbd1fba0 (diff)
[IMP] document_ftp: improve/sanitize transaction management during tests
Now that spurious commits were removed in document module, the test would not run properly anymore. We do need special care with transactions when we test the FTP layer because operations on the virtual FS are done in their own transaction, and immediately committed. In order for test code and FTP operations to be able to see each other, the transactions need to be synchronized. The current test transaction needs to be rolled back or committed after reach FTP operation so it can "see" the latest changes in the database. Similarly, we must force a commit of the test transaction whenever we want the FTP layer to be able to see its effects. bzr revid: odo@openerp.com-20111130120244-3m15sxdx1x5x1q1x
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions